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.contrib.http
Fields in io.opencensus.contrib.http declared as TagContextModifier and TypeFieldDescription(package private) final TagContext
HttpRequestContext.tagContext
Methods in io.opencensus.contrib.http with parameters of type TagContextModifier and TypeMethodDescription(package private) HttpRequestContext
AbstractHttpHandler.getNewContext
(Span span, TagContext tagContext) Constructors in io.opencensus.contrib.http with parameters of type TagContextModifierConstructorDescription(package private)
HttpRequestContext
(Span span, TagContext tagContext) -
Uses of TagContext in io.opencensus.implcore.stats
Fields in io.opencensus.implcore.stats declared as TagContextMethods in io.opencensus.implcore.stats with parameters of type TagContextModifier and TypeMethodDescription(package private) static Map
<TagKey, TagValueWithMetadata> RecordUtils.getTagMap
(TagContext ctx) void
MeasureMapImpl.record
(TagContext tags) (package private) void
MeasureToViewMap.record
(TagContext tags, MeasureMapInternal stats, Timestamp timestamp) (package private) void
MutableViewData.CumulativeMutableViewData.record
(TagContext context, double value, Timestamp timestamp, Map<String, AttachmentValue> attachments) (package private) void
MutableViewData.IntervalMutableViewData.record
(TagContext context, double value, Timestamp timestamp, Map<String, AttachmentValue> attachments) (package private) abstract void
MutableViewData.record
(TagContext context, double value, Timestamp timestamp, Map<String, AttachmentValue> attachments) Record stats with the given tags.(package private) void
StatsManager.record
(TagContext tags, MeasureMapInternal measurementValues) Constructors in io.opencensus.implcore.stats with parameters of type TagContextModifierConstructorDescription(package private)
StatsEvent
(StatsManager statsManager, TagContext tags, MeasureMapInternal stats) -
Uses of TagContext in io.opencensus.implcore.tags
Subclasses of TagContext in io.opencensus.implcore.tagsMethods in io.opencensus.implcore.tags that return TagContextModifier and TypeMethodDescriptionNoopTagMapBuilder.build()
(package private) static TagContext
CurrentTagMapUtils.getCurrentTagMap()
Returns theTagContext
from the current context.Methods in io.opencensus.implcore.tags with parameters of type TagContextModifier and TypeMethodDescriptionTaggerImpl.toBuilder
(TagContext tags) private static TagMapBuilderImpl
TaggerImpl.toTagMapBuilderImpl
(TagContext tags) private static TagMapImpl
TaggerImpl.toTagMapImpl
(TagContext tags) TaggerImpl.withTagContext
(TagContext tags) (package private) static Scope
CurrentTagMapUtils.withTagMap
(TagContext tags) Enters the scope of code where the givenTagContext
is in the current context and returns an object that represents that scope.Constructors in io.opencensus.implcore.tags with parameters of type TagContextModifierConstructorDescriptionprivate
WithTagMap
(TagContext tags) Constructs a newCurrentTagMapUtils.WithTagMap
. -
Uses of TagContext in io.opencensus.implcore.tags.propagation
Methods in io.opencensus.implcore.tags.propagation that return TagContextModifier and TypeMethodDescription<C> TagContext
CorrelationContextFormat.extract
(C carrier, TagContextTextFormat.Getter<C> getter) TagContextBinarySerializerImpl.fromByteArray
(byte[] bytes) Methods in io.opencensus.implcore.tags.propagation with parameters of type TagContextModifier and TypeMethodDescription<C> void
CorrelationContextFormat.inject
(TagContext tagContext, C carrier, TagContextTextFormat.Setter<C> setter) (package private) static byte[]
BinarySerializationUtils.serializeBinary
(TagContext tags) byte[]
TagContextBinarySerializerImpl.toByteArray
(TagContext tags) -
Uses of TagContext in io.opencensus.stats
Methods in io.opencensus.stats with parameters of type TagContextModifier and TypeMethodDescriptionabstract void
MeasureMap.record
(TagContext tags) Records all of the measures at the same time, with an explicitTagContext
.void
NoopStats.NoopMeasureMap.record
(TagContext tags) -
Uses of TagContext in io.opencensus.tags
Subclasses of TagContext in io.opencensus.tagsFields in io.opencensus.tags declared as TagContextModifier and TypeFieldDescription(package private) static final TagContext
NoopTags.NoopTagContext.INSTANCE
Methods in io.opencensus.tags that return TagContextModifier and TypeMethodDescriptionNoopTags.NoopTagContextBuilder.build()
abstract TagContext
TagContextBuilder.build()
Creates aTagContext
from this builder.NoopTags.NoopTagger.empty()
abstract TagContext
Tagger.empty()
Returns an emptyTagContext
.<C> TagContext
NoopTags.NoopTagContextTextFormat.extract
(C carrier, TagContextTextFormat.Getter<C> getter) NoopTags.NoopTagContextBinarySerializer.fromByteArray
(byte[] bytes) NoopTags.NoopTagger.getCurrentTagContext()
abstract TagContext
Tagger.getCurrentTagContext()
Returns the currentTagContext
.(package private) static TagContext
NoopTags.getNoopTagContext()
Returns aTagContext
that does not contain any tags.Methods in io.opencensus.tags with parameters of type TagContextModifier and TypeMethodDescriptionInternalUtils.getTags
(TagContext tags) Internal tag accessor.<C> void
NoopTags.NoopTagContextTextFormat.inject
(TagContext tagContext, C carrier, TagContextTextFormat.Setter<C> setter) NoopTags.NoopTagger.toBuilder
(TagContext tags) abstract TagContextBuilder
Tagger.toBuilder
(TagContext tags) Returns a builder based on thisTagContext
.byte[]
NoopTags.NoopTagContextBinarySerializer.toByteArray
(TagContext tags) NoopTags.NoopTagger.withTagContext
(TagContext tags) abstract Scope
Tagger.withTagContext
(TagContext tags) Enters the scope of code where the givenTagContext
is 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> TagContext
TagContextTextFormat.extract
(C carrier, TagContextTextFormat.Getter<C> getter) Extracts the tag context from upstream.abstract TagContext
TagContextBinarySerializer.fromByteArray
(byte[] bytes) Creates aTagContext
from the given on-the-wire encoded representation.Methods in io.opencensus.tags.propagation with parameters of type TagContextModifier and TypeMethodDescriptionabstract <C> void
TagContextTextFormat.inject
(TagContext tagContext, C carrier, TagContextTextFormat.Setter<C> setter) Injects the tag context downstream.abstract byte[]
TagContextBinarySerializer.toByteArray
(TagContext tags) Serializes theTagContext
into the on-the-wire representation. -
Uses of TagContext in io.opencensus.tags.unsafe
Subclasses of TagContext in io.opencensus.tags.unsafeFields in io.opencensus.tags.unsafe declared as TagContextFields in io.opencensus.tags.unsafe with type parameters of type TagContextModifier and TypeFieldDescriptionprivate static final io.grpc.Context.Key
<TagContext> ContextUtils.TAG_CONTEXT_KEY
TheContext.Key
used to interact with theTagContext
contained in theContext
.Methods in io.opencensus.tags.unsafe that return TagContextModifier and TypeMethodDescriptionstatic TagContext
ContextUtils.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.Context
ContextUtils.withValue
(io.grpc.Context context, TagContext tagContext) Creates a newContext
with the given value set.