Module: OpenTelemetry::DistributedContext
- Defined in:
- lib/opentelemetry/distributed_context.rb,
lib/opentelemetry/distributed_context/entry.rb,
lib/opentelemetry/distributed_context/manager.rb,
lib/opentelemetry/distributed_context/propagation.rb,
lib/opentelemetry/distributed_context/distributed_context.rb,
lib/opentelemetry/distributed_context/propagation/text_format.rb,
lib/opentelemetry/distributed_context/propagation/trace_parent.rb,
lib/opentelemetry/distributed_context/propagation/binary_format.rb
Overview
DistributedContext is an abstract data type that represents a collection of entries. Each key of a DistributedContext is associated with exactly one value. DistributedContext is serializable, to facilitate propagating it not only inside the process but also across process boundaries. DistributedContext is used to annotate telemetry with the name:value pair Entry. Those values can be used to add dimensions to the metric or additional context properties to logs and traces.
Defined Under Namespace
Modules: Propagation Classes: DistributedContext, Entry, Manager