Package io.opencensus.tags
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.
-
ClassDescriptionInternal tagging utilities.No-op implementations of tagging classes.Builder for the
TagContextclass.Object for creating newTagContexts andTagContexts based on the current context.State of theTagsComponent.A key to a value stored in aTagContext.TagMetadatacontains properties associated with aTag.TagMetadata.TagTtlis an integer that represents number of hops a tag can propagate.Class for accessing the defaultTagsComponent.Class that holds the implementation forTaggerandTagPropagationComponent.A validated tag value.