Setup
When adding custom instrumentation, first import the OpenTelemetry trace package in the file you want to add the instrumentation to.Creating a new span
Using the tracer initialized during the installation, create a new span.r.Context().
Receiving the context may be different in your application.