The key used to store the active span on ctx.state.
Downstream handlers and middleware can read the active span via
ctx.state.get(TELEMETRY_SPAN_KEY) and cast to ISpan.
The key used to store the active span on ctx.state.
Downstream handlers and middleware can read the active span via
ctx.state.get(TELEMETRY_SPAN_KEY) and cast to ISpan.
import { TELEMETRY_SPAN_KEY } from "telemetry-plugin/src/index.ts";