otel_propagator_trace_context (OpenTelemetry API v1.4.0)

View Source

An implementation of otel_propagator_text_map that injects and extracts trace context using the W3C TraceContext format.

This propagator along with otel_propagator_baggage are used by default. The global TextMap Propagators can be configured in the application environment:

  {text_map_propagators, [trace_context, baggage]},

Or by calling opentelemetry:set_text_map_propagator/1.