Skip to main content

Module trace

Module trace 

Source
Expand description

W3C Trace Context propagation.

v0 propagates traceparent/tracestate in transfer metadata and logs the ids through tracing (master doc §58); the OpenTelemetry SDK is wired up in the observability phase. This module is the codec only: it never generates identifiers, because randomness belongs to the runtime, not to the model.

Structs§

TraceContext
A W3C Trace Context traceparent.

Enums§

TraceError
Why a traceparent value was rejected.

Constants§

FLAG_SAMPLED
The sampled flag bit.
MAX_TRACEPARENT_BYTES
Wire cap for the DATA traceparent field, in bytes.
MAX_TRACESTATE_BYTES
Wire cap for the DATA tracestate field, in bytes.