Module opentelemetry::baggage

source ·
Expand description

Primitives for sending name/value data across system boundaries.

Baggage is used to annotate telemetry, adding context and information to metrics, traces, and logs. It is a set of name/value pairs describing user-defined properties. Each name in Baggage is associated with exactly one value.

Main types in this module are:

  • Baggage: A set of name/value pairs describing user-defined properties.
  • BaggageExt: Extensions for managing Baggage in a Context.

Baggage can be sent between systems using a baggage propagator in accordance with the W3C Baggage specification.

Structs§

Traits§

  • Methods for sorting and retrieving baggage data in a context.