abstract class
OpenTelemetry::Propagation::TextMapPropagator
- OpenTelemetry::Propagation::TextMapPropagator
- Reference
- Object
Overview
Injects and extracts Context through a carrier of string keys and values. Concurrency: implementations must be safe for concurrent use.
Direct Known Subclasses
- OpenTelemetry::Propagation::B3
- OpenTelemetry::Propagation::Composite
- OpenTelemetry::Propagation::Noop
- OpenTelemetry::Propagation::TraceContext
- OpenTelemetry::Propagation::W3CBaggage
Defined in:
api/propagation/text_map_propagator.crInstance 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
Instance Method Detail
abstract
def extract(carrier, context : Context = Context.current, getter = DEFAULT_GETTER) : Context
#
Implementations report errors and return context on invalid input.