ISpan.spanContext(): SpanContext
Returns the span's context (traceId, spanId, traceFlags).
Used by the middleware to inject the span's own traceparent into the
response header so downstream hops see this server span as the parent.
ISpan.spanContext(): SpanContext
Returns the span's context (traceId, spanId, traceFlags).
Used by the middleware to inject the span's own traceparent into the
response header so downstream hops see this server span as the parent.
import { type ISpan } from "common/src/index.ts";