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 TagContextHttpRequestContext.tagContextMethods in io.opencensus.contrib.http with parameters of type TagContextModifier and TypeMethodDescription(package private) HttpRequestContextAbstractHttpHandler.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) voidMeasureMapImpl.record(TagContext tags) (package private) voidMeasureToViewMap.record(TagContext tags, MeasureMapInternal stats, Timestamp timestamp) (package private) voidMutableViewData.CumulativeMutableViewData.record(TagContext context, double value, Timestamp timestamp, Map<String, AttachmentValue> attachments) (package private) voidMutableViewData.IntervalMutableViewData.record(TagContext context, double value, Timestamp timestamp, Map<String, AttachmentValue> attachments) (package private) abstract voidMutableViewData.record(TagContext context, double value, Timestamp timestamp, Map<String, AttachmentValue> attachments) Record stats with the given tags.(package private) voidStatsManager.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 TagContextCurrentTagMapUtils.getCurrentTagMap()Returns theTagContextfrom the current context.Methods in io.opencensus.implcore.tags with parameters of type TagContextModifier and TypeMethodDescriptionTaggerImpl.toBuilder(TagContext tags) private static TagMapBuilderImplTaggerImpl.toTagMapBuilderImpl(TagContext tags) private static TagMapImplTaggerImpl.toTagMapImpl(TagContext tags) TaggerImpl.withTagContext(TagContext tags) (package private) static ScopeCurrentTagMapUtils.withTagMap(TagContext tags) Enters the scope of code where the givenTagContextis in the current context and returns an object that represents that scope.Constructors in io.opencensus.implcore.tags with parameters of type TagContextModifierConstructorDescriptionprivateWithTagMap(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> TagContextCorrelationContextFormat.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> voidCorrelationContextFormat.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 voidMeasureMap.record(TagContext tags) Records all of the measures at the same time, with an explicitTagContext.voidNoopStats.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 TagContextNoopTags.NoopTagContext.INSTANCEMethods in io.opencensus.tags that return TagContextModifier and TypeMethodDescriptionNoopTags.NoopTagContextBuilder.build()abstract TagContextTagContextBuilder.build()Creates aTagContextfrom this builder.NoopTags.NoopTagger.empty()abstract TagContextTagger.empty()Returns an emptyTagContext.<C> TagContextNoopTags.NoopTagContextTextFormat.extract(C carrier, TagContextTextFormat.Getter<C> getter) NoopTags.NoopTagContextBinarySerializer.fromByteArray(byte[] bytes) NoopTags.NoopTagger.getCurrentTagContext()abstract TagContextTagger.getCurrentTagContext()Returns the currentTagContext.(package private) static TagContextNoopTags.getNoopTagContext()Returns aTagContextthat does not contain any tags.Methods in io.opencensus.tags with parameters of type TagContextModifier and TypeMethodDescriptionInternalUtils.getTags(TagContext tags) Internal tag accessor.<C> voidNoopTags.NoopTagContextTextFormat.inject(TagContext tagContext, C carrier, TagContextTextFormat.Setter<C> setter) NoopTags.NoopTagger.toBuilder(TagContext tags) abstract TagContextBuilderTagger.toBuilder(TagContext tags) Returns a builder based on thisTagContext.byte[]NoopTags.NoopTagContextBinarySerializer.toByteArray(TagContext tags) NoopTags.NoopTagger.withTagContext(TagContext tags) 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
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_KEYTheContext.Keyused to interact with theTagContextcontained in theContext.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.