TraceContext
Defined in: src/lib/logging/types.ts:75
W3C Trace Context compatible trace context.
See
https://www.w3.org/TR/trace-context/
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
parentSpanId? | string | Parent span ID if this span has a parent (16 hex chars). | src/lib/logging/types.ts:90 |
spanId | string | Unique identifier for this specific span (16 hex chars). | src/lib/logging/types.ts:85 |
traceFlags? | number | Trace flags (8-bit field, usually just sampling flag). 0x01 = sampled | src/lib/logging/types.ts:96 |
traceId | string | Unique identifier for the entire trace (32 hex chars). Shared across all spans in a trace. | src/lib/logging/types.ts:80 |