View Source otel_propagator_text_map_composite (opentelemetry_api v1.3.2)
A Composite TextMap Propagator is a Propagator that performs run multiple TextMap Propagators in a specified order.
An example of creating a Composite TextMap Propagator to inject and extract Baggage and TraceContext:
Propagator = otel_propagator_text_map_composite:create([trace_context, baggage]),
otel_propagator_text_map:extract(Propagator, Carrier)
Summary
Functions
Create a new Composite TextMap Propagator.
Functions
-spec create([otel_propagator:builtin()]) -> otel_propagator:t().
Create a new Composite TextMap Propagator.
The Propagators
list is a list of atoms that represent the suffix of the module name of the TextMap Propagator to be used.