class
OpenTelemetry::Propagation::TraceContext
- OpenTelemetry::Propagation::TraceContext
- OpenTelemetry::Propagation::TextMapPropagator
- Reference
- Object
Overview
Propagates the W3C Trace Context Level 2 headers. Concurrency: stateless and safe for concurrent use.
Defined in:
api/propagation/trace_context.crConstant Summary
-
TRACEPARENT =
"traceparent" -
TRACESTATE =
"tracestate"
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
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
Instance Method Detail
Description copied from class OpenTelemetry::Propagation::TextMapPropagator
Implementations report errors and return context on invalid input.