Top Description Interfaces Classes
module io.opentelemetry.api

Package io.opentelemetry.api.baggage

Annotations
@ParametersAreNonnullByDefault
Imports
javax.annotation.ParametersAreNonnullByDefault

API for associating entries with scoped operations.

This package manages a set of entries in the io.opentelemetry.context.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 io.opentelemetry.context.Context, such as trace ID.

Interface Summary

Modifier and TypeInterface and Description
public interface
Baggage

A map from String to BaggageEntry that can be used to label anything that is associated with a specific operation.

public interface
BaggageBuilder

A builder of Baggage.

public interface
BaggageEntry

An entry in a set of baggage.

public interface
BaggageEntryMetadata

Metadata associated with an BaggageEntry.

Class Summary

Modifier and TypeClass and Description
pack-priv class
BaggageContextKey

Util class to hold on to the key for storing Baggage in the Context.

pack-priv class
pack-priv abstract class
ImmutableEntry

String-String key-value pair, along with ImmutableEntryMetadata.

pack-priv abstract class