Uses of Class
io.opencensus.tags.TagContextBuilder
Packages that use TagContextBuilder
Package
Description
API for associating tags with scoped operations.
-
Uses of TagContextBuilder in io.opencensus.implcore.tags
Subclasses of TagContextBuilder in io.opencensus.implcore.tagsModifier and TypeClassDescription(package private) final class
TagContextBuilder
that is used when tagging is disabled.(package private) final class
Methods in io.opencensus.implcore.tags that return TagContextBuilderModifier and TypeMethodDescriptionTaggerImpl.currentBuilder()
TaggerImpl.emptyBuilder()
NoopTagMapBuilder.put
(TagKey key, TagValue value, TagMetadata tagMetadata) TagMapBuilderImpl.put
(TagKey key, TagValue value, TagMetadata tagMetadata) TaggerImpl.toBuilder
(TagContext tags) -
Uses of TagContextBuilder in io.opencensus.tags
Subclasses of TagContextBuilder in io.opencensus.tagsFields in io.opencensus.tags declared as TagContextBuilderModifier and TypeFieldDescription(package private) static final TagContextBuilder
NoopTags.NoopTagContextBuilder.INSTANCE
Methods in io.opencensus.tags that return TagContextBuilderModifier and TypeMethodDescriptionNoopTags.NoopTagger.currentBuilder()
abstract TagContextBuilder
Tagger.currentBuilder()
Returns a new builder created from the currentTagContext
.NoopTags.NoopTagger.emptyBuilder()
abstract TagContextBuilder
Tagger.emptyBuilder()
Returns a new emptyBuilder
.(package private) static TagContextBuilder
NoopTags.getNoopTagContextBuilder()
Returns aTagContextBuilder
that ignores all calls toput(io.opencensus.tags.TagKey, io.opencensus.tags.TagValue)
.NoopTags.NoopTagContextBuilder.put
(TagKey key, TagValue value, TagMetadata tagMetadata) abstract TagContextBuilder
Deprecated.TagContextBuilder.put
(TagKey key, TagValue value, TagMetadata tagMetadata) Adds the key/value pair and metadata regardless of whether the key is present.final TagContextBuilder
Adds a non-propagating tag to thisTagContextBuilder
.final TagContextBuilder
TagContextBuilder.putPropagating
(TagKey key, TagValue value) Adds an unlimited propagating tag to thisTagContextBuilder
.abstract TagContextBuilder
Removes the key if it exists.NoopTags.NoopTagger.toBuilder
(TagContext tags) abstract TagContextBuilder
Tagger.toBuilder
(TagContext tags) Returns a builder based on thisTagContext
.
put(TagKey, TagValue, TagMetadata)
, orputLocal(TagKey, TagValue)
if you only want in-process tags.