SpanContext
Defined in: src/tracing/Tracer.ts:27
Properties
Section titled “Properties”spanId
Section titled “spanId”
readonlyspanId:string
Defined in: src/tracing/Tracer.ts:31
16 hex chars — the per-span identifier.
traceFlags
Section titled “traceFlags”
readonlytraceFlags:number
Defined in: src/tracing/Tracer.ts:33
Bit 0 = sampled. We support sampled / not-sampled only.
traceId
Section titled “traceId”
readonlytraceId:string
Defined in: src/tracing/Tracer.ts:29
32 hex chars — the trace identifier shared across hops.
traceState?
Section titled “traceState?”
readonlyoptionaltraceState?:string
Defined in: src/tracing/Tracer.ts:35
Optional W3C tracestate — opaque vendor-specific.