Class | Description |
---|---|
InternalUtils |
Internal tagging utilities.
|
Tag | |
TagContext | |
TagContextBuilder |
Builder for the
TagContext class. |
Tagger |
Object for creating new
TagContext s and TagContext s 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 String
s. 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.