Skip navigation links

Package io.opentelemetry.baggage

API for associating entries with scoped operations.

See: Description

Package io.opentelemetry.baggage Description

API for associating entries with scoped operations.

This package manages a set of entries in the io.grpc.Context. The entries can be used to label anything that is associated with a specific operation. For example, the opentelemetry.stats package labels all stats with the current entries.

Entrys are key-value pairs of Strings. They are stored as a map in a Baggage.

Note that entries are independent of the tracing data that is propagated in the io.grpc.Context, such as trace ID.

Skip navigation links