Skip to content

SpanContext

Defined in: src/tracing/Tracer.ts:27

readonly spanId: string

Defined in: src/tracing/Tracer.ts:31

16 hex chars — the per-span identifier.


readonly traceFlags: number

Defined in: src/tracing/Tracer.ts:33

Bit 0 = sampled. We support sampled / not-sampled only.


readonly traceId: string

Defined in: src/tracing/Tracer.ts:29

32 hex chars — the trace identifier shared across hops.


readonly optional traceState?: string

Defined in: src/tracing/Tracer.ts:35

Optional W3C tracestate — opaque vendor-specific.