Add instrumentation to submit api endpoint