Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface SpanContext

Package version

A light interface that tries to be structurally compatible with OpenTelemetry

Hierarchy

  • SpanContext

Index

Properties

spanId

spanId: string

UUID of a Span.

traceFlags

traceFlags: number

traceId

traceId: string

UUID of a trace.

Optional traceState

traceState: TraceState

Tracing-system-specific info to propagate.

The tracestate field value is a list as defined below. The list is a series of list-members separated by commas ,, and a list-member is a key/value pair separated by an equals sign =. Spaces and horizontal tabs surrounding list-members are ignored. There can be a maximum of 32 list-members in a list. More Info: https://www.w3.org/TR/trace-context/#tracestate-field

Examples: Single tracing system (generic format): tracestate: rojo=00f067aa0ba902b7 Multiple tracing systems (with different formatting): tracestate: rojo=00f067aa0ba902b7,congo=t61rcWkgMzE

Generated using TypeDoc