ParentSpanRef interface

Manual parent span reference for cross-async-boundary tracing.

Properties

isRemote

Whether the parent span originated on a remote system.

spanId

Span identifier of the parent span.

traceFlags

Trace flags (e.g. sampled bit) of the parent span.

traceId

Trace identifier of the parent span.

traceState

W3C trace state carried from the parent span.

Property Details

isRemote

Whether the parent span originated on a remote system.

isRemote?: boolean

Property Value

boolean

spanId

Span identifier of the parent span.

spanId: string

Property Value

string

traceFlags

Trace flags (e.g. sampled bit) of the parent span.

traceFlags?: number

Property Value

number

traceId

Trace identifier of the parent span.

traceId: string

Property Value

string

traceState

W3C trace state carried from the parent span.

traceState?: TraceState

Property Value

TraceState