Package io.opentelemetry.api.baggage
@ParametersAreNonnullByDefault
package io.opentelemetry.api.baggage
API for associating entries with scoped operations.
This package manages a set of entries in the 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.
Note that entries are independent of the tracing data that is propagated in the Context
, such as trace ID.
-
ClassDescriptionA map from
String
toBaggageEntry
that can be used to label anything that is associated with a specific operation.A builder ofBaggage
.An entry in a set of baggage.Metadata associated with anBaggageEntry
.