Uses of Class
io.opencensus.tags.TagContext
Packages that use TagContext
Package
Description
API for stats recording.
API for associating tags with scoped operations.
-
Uses of TagContext in io.opencensus.implcore.tags
Subclasses of TagContext in io.opencensus.implcore.tagsMethods in io.opencensus.implcore.tags with parameters of type TagContextModifier and TypeMethodDescriptionTaggerImpl.toBuilder(TagContext tags) TaggerImpl.withTagContext(TagContext tags) -
Uses of TagContext in io.opencensus.stats
Methods in io.opencensus.stats with parameters of type TagContextModifier and TypeMethodDescriptionabstract voidMeasureMap.record(TagContext tags) Records all of the measures at the same time, with an explicitTagContext. -
Uses of TagContext in io.opencensus.tags
Methods in io.opencensus.tags that return TagContextModifier and TypeMethodDescriptionabstract TagContextTagContextBuilder.build()Creates aTagContextfrom this builder.abstract TagContextTagger.empty()Returns an emptyTagContext.abstract TagContextTagger.getCurrentTagContext()Returns the currentTagContext.Methods in io.opencensus.tags with parameters of type TagContextModifier and TypeMethodDescriptionInternalUtils.getTags(TagContext tags) Internal tag accessor.abstract TagContextBuilderTagger.toBuilder(TagContext tags) Returns a builder based on thisTagContext.abstract ScopeTagger.withTagContext(TagContext tags) Enters the scope of code where the givenTagContextis in the current context (replacing the previousTagContext) and returns an object that represents that scope. -
Uses of TagContext in io.opencensus.tags.propagation
Methods in io.opencensus.tags.propagation that return TagContextModifier and TypeMethodDescriptionabstract <C> TagContextTagContextTextFormat.extract(C carrier, TagContextTextFormat.Getter<C> getter) Extracts the tag context from upstream.abstract TagContextTagContextBinarySerializer.fromByteArray(byte[] bytes) Creates aTagContextfrom the given on-the-wire encoded representation.Methods in io.opencensus.tags.propagation with parameters of type TagContextModifier and TypeMethodDescriptionabstract <C> voidTagContextTextFormat.inject(TagContext tagContext, C carrier, TagContextTextFormat.Setter<C> setter) Injects the tag context downstream.abstract byte[]TagContextBinarySerializer.toByteArray(TagContext tags) Serializes theTagContextinto the on-the-wire representation. -
Uses of TagContext in io.opencensus.tags.unsafe
Methods in io.opencensus.tags.unsafe that return TagContextModifier and TypeMethodDescriptionstatic TagContextContextUtils.getValue(io.grpc.Context context) Returns the value from the specifiedContext.Methods in io.opencensus.tags.unsafe with parameters of type TagContextModifier and TypeMethodDescriptionstatic io.grpc.ContextContextUtils.withValue(io.grpc.Context context, TagContext tagContext) Creates a newContextwith the given value set.