See: Description
Interface | Description |
---|---|
Baggage |
A map from
String to String and EntryMetadata that can be used to label
anything that is associated with a specific operation. |
Baggage.Builder |
Builder for the
Baggage class. |
BaggageManager |
Object for creating new
Baggage s and Baggage s based on the current context. |
Class | Description |
---|---|
BaggageUtils |
Utility methods for accessing the
Baggage contained in the Context . |
DefaultBaggageManager |
No-op implementations of
BaggageManager . |
EmptyBaggage |
An immutable implementation of the
Baggage that does not contain any entries. |
Entry |
String-String key-value pair, along with
EntryMetadata . |
EntryMetadata |
EntryMetadata contains properties associated with an Entry . |
Enum | Description |
---|---|
EntryMetadata.EntryTtl |
EntryMetadata.EntryTtl is an integer that represents number of hops an entry can propagate. |
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 String
s. 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.