TraceContext interface

TraceContext information to enable distributed tracing scenarios

Properties

attributes

Holds additional properties being sent as part of request telemetry

traceParent

Describes the position of the incoming request in its trace graph in a portable, fixed-length format

traceState

Extends traceparent with vendor-specific data

Property Details

attributes

Holds additional properties being sent as part of request telemetry

attributes?: Record<string, string>

Property Value

Record<string, string>

traceParent

Describes the position of the incoming request in its trace graph in a portable, fixed-length format

traceParent?: string

Property Value

string

traceState

Extends traceparent with vendor-specific data

traceState?: string

Property Value

string