Module otel_propagator_baggage

An implementation of otel_propagator_text_map that injects and extracts baggage using the W3C Baggage format.

Behaviours: otel_propagator_text_map.

Description

An implementation of otel_propagator_text_map that injects and extracts baggage using the W3C Baggage format.

This propagator along with otel_propagator_trace_context 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.

Function Index

extract/5
fields/1
inject/4

Function Details

extract/5

extract(Context, Carrier, CarrierKeysFun, CarrierGetFun, Options) -> Context

fields/1

fields(X1) -> any()

inject/4

inject(Context, Carrier, CarrierSetFun, Options) -> Carrier


Generated by EDoc