콘텐츠로 이동
한국어

SpanContext

이 콘텐츠는 아직 번역되지 않았습니다.

SpanContext = object

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

readonly spanId: string

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

16 hex chars — the per-span identifier.


readonly traceFlags: number

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

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


readonly traceId: string

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

32 hex chars — the trace identifier shared across hops.


readonly optional traceState?: string

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

Optional W3C tracestate — opaque vendor-specific.