Package io.opencensus.tags
API for associating tags with scoped operations.
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.
-
Class Summary Class Description AutoValue_Tag AutoValue_TagKey AutoValue_TagMetadata AutoValue_TagValue InternalUtils Internal tagging utilities.NoopTags No-op implementations of tagging classes.NoopTags.NoopTagContext NoopTags.NoopTagContextBinarySerializer NoopTags.NoopTagContextBuilder NoopTags.NoopTagContextTextFormat NoopTags.NoopTagger NoopTags.NoopTagPropagationComponent NoopTags.NoopTagsComponent Tag TagContext TagContextBuilder Builder for theTagContextclass.Tagger Object for creating newTagContexts andTagContexts based on the current context.TagKey A key to a value stored in aTagContext.TagMetadata TagMetadatacontains properties associated with aTag.Tags Class for accessing the defaultTagsComponent.TagsComponent Class that holds the implementation forTaggerandTagPropagationComponent.TagValue A validated tag value. -
Enum Summary Enum Description TaggingState State of theTagsComponent.TagMetadata.TagTtl TagMetadata.TagTtlis an integer that represents number of hops a tag can propagate.