| Class | Description |
|---|---|
| InternalUtils |
Internal tagging utilities.
|
| Tag | |
| TagContext | |
| TagContextBuilder |
Builder for the
TagContext class. |
| Tagger |
Object for creating new
TagContexts and TagContexts based on the current context. |
| TagKey |
A key to a value stored in a
TagContext. |
| Tags |
Class for accessing the default
TagsComponent. |
| TagsComponent |
Class that holds the implementation for
Tagger and TagPropagationComponent. |
| TagValue |
A validated tag value.
|
| Enum | Description |
|---|---|
| TaggingState |
State of the
TagsComponent. |
This package manages a set of tags in the io.grpc.Context. The tags can be used to
label anything that is associated with a specific operation. For example, the io.opencensus.stats package labels all stats with the current tags.
Tags are key-value pairs. The keys and values are wrapped Strings. They are stored
as a map in a TagContext.
Note that tags are independent of the tracing data that is propagated in the io.grpc.Context, such as trace ID.