See: Description
| Interface | Description |
|---|---|
| CorrelationContext |
A map from
String to String and EntryMetadata that can be used to label
anything that is associated with a specific operation. |
| CorrelationContext.Builder |
Builder for the
CorrelationContext class. |
| CorrelationContextManager |
Object for creating new
CorrelationContexts and CorrelationContexts based on the
current context. |
| Class | Description |
|---|---|
| CorrelationsContextUtils |
Utility methods for accessing the
CorrelationContext contained in the Context. |
| DefaultCorrelationContextManager |
No-op implementations of
CorrelationContextManager. |
| EmptyCorrelationContext |
An immutable implementation of the
CorrelationContext 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 Strings. They are stored as a map in a CorrelationContext.
Note that entries are independent of the tracing data that is propagated in the io.grpc.Context, such as trace ID.