Skip to main content

TraceContext

Defined in: src/lib/logging/types.ts:75

W3C Trace Context compatible trace context.

See

https://www.w3.org/TR/trace-context/

Properties

PropertyTypeDescriptionDefined in
parentSpanId?stringParent span ID if this span has a parent (16 hex chars).src/lib/logging/types.ts:90
spanIdstringUnique identifier for this specific span (16 hex chars).src/lib/logging/types.ts:85
traceFlags?numberTrace flags (8-bit field, usually just sampling flag). 0x01 = sampledsrc/lib/logging/types.ts:96
traceIdstringUnique identifier for the entire trace (32 hex chars). Shared across all spans in a trace.src/lib/logging/types.ts:80