class
OpenTelemetry::Propagation::Composite
Overview
Applies a list of propagators in order, continuing past member failures. When multiple members extract a value for the same concern, the last member that installs a value wins. Concurrency: immutable list; member propagators must support concurrent use.
Defined in:
api/propagation/composite.crConstructors
- .new(propagators : Enumerable(TextMapPropagator) = [] of TextMapPropagator)
- .new(*propagators : TextMapPropagator) : Composite
Instance Method Summary
-
#extract(carrier, context : Context = Context.current, getter = DEFAULT_GETTER) : Context
Implementations report errors and return context on invalid input.
- #fields : Array(String)
- #inject(carrier, context : Context = Context.current, setter = DEFAULT_SETTER) : Nil
- #propagators : Array(TextMapPropagator)
Instance methods inherited from class OpenTelemetry::Propagation::TextMapPropagator
extract(carrier, context : Context = Context.current, getter = DEFAULT_GETTER) : Context
extract,
fields : Array(String)
fields,
inject(carrier, context : Context = Context.current, setter = DEFAULT_SETTER) : Nil
inject
Constructor Detail
Instance Method Detail
Description copied from class OpenTelemetry::Propagation::TextMapPropagator
Implementations report errors and return context on invalid input.