Uses of Class
io.opencensus.tags.TagContext
-
Packages that use TagContext Package Description io.opencensus.contrib.http io.opencensus.implcore.stats io.opencensus.implcore.tags io.opencensus.implcore.tags.propagation io.opencensus.stats API for stats recording.io.opencensus.tags API for associating tags with scoped operations.io.opencensus.tags.propagation io.opencensus.tags.unsafe -
-
Uses of TagContext in io.opencensus.contrib.http
Fields in io.opencensus.contrib.http declared as TagContext Modifier and Type Field Description (package private) TagContextHttpRequestContext. tagContextMethods in io.opencensus.contrib.http with parameters of type TagContext Modifier and Type Method Description (package private) HttpRequestContextAbstractHttpHandler. getNewContext(Span span, TagContext tagContext)Constructors in io.opencensus.contrib.http with parameters of type TagContext Constructor Description HttpRequestContext(Span span, TagContext tagContext) -
Uses of TagContext in io.opencensus.implcore.stats
Fields in io.opencensus.implcore.stats declared as TagContext Modifier and Type Field Description private TagContextStatsManager.StatsEvent. tagsMethods in io.opencensus.implcore.stats with parameters of type TagContext Modifier and Type Method Description (package private) static java.util.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, java.util.Map<java.lang.String,AttachmentValue> attachments)(package private) voidMutableViewData.IntervalMutableViewData. record(TagContext context, double value, Timestamp timestamp, java.util.Map<java.lang.String,AttachmentValue> attachments)(package private) abstract voidMutableViewData. record(TagContext context, double value, Timestamp timestamp, java.util.Map<java.lang.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 TagContext Constructor Description StatsEvent(StatsManager statsManager, TagContext tags, MeasureMapInternal stats) -
Uses of TagContext in io.opencensus.implcore.tags
Subclasses of TagContext in io.opencensus.implcore.tags Modifier and Type Class Description classTagMapImplImplementation ofTagContext.Methods in io.opencensus.implcore.tags that return TagContext Modifier and Type Method Description TagContextNoopTagMapBuilder. build()(package private) static TagContextCurrentTagMapUtils. getCurrentTagMap()Returns theTagContextfrom the current context.Methods in io.opencensus.implcore.tags with parameters of type TagContext Modifier and Type Method Description TagContextBuilderTaggerImpl. toBuilder(TagContext tags)private static TagMapBuilderImplTaggerImpl. toTagMapBuilderImpl(TagContext tags)private static TagMapImplTaggerImpl. toTagMapImpl(TagContext tags)ScopeTaggerImpl. 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 TagContext Constructor Description 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 TagContext Modifier and Type Method Description <C> TagContextCorrelationContextFormat. extract(C carrier, TagContextTextFormat.Getter<C> getter)TagContextTagContextBinarySerializerImpl. fromByteArray(byte[] bytes)Methods in io.opencensus.implcore.tags.propagation with parameters of type TagContext Modifier and Type Method Description <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 TagContext Modifier and Type Method Description abstract 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.tags Modifier and Type Class Description private static classNoopTags.NoopTagContextFields in io.opencensus.tags declared as TagContext Modifier and Type Field Description (package private) static TagContextNoopTags.NoopTagContext. INSTANCEMethods in io.opencensus.tags that return TagContext Modifier and Type Method Description TagContextNoopTags.NoopTagContextBuilder. build()abstract TagContextTagContextBuilder. build()Creates aTagContextfrom this builder.TagContextNoopTags.NoopTagger. empty()abstract TagContextTagger. empty()Returns an emptyTagContext.<C> TagContextNoopTags.NoopTagContextTextFormat. extract(C carrier, TagContextTextFormat.Getter<C> getter)TagContextNoopTags.NoopTagContextBinarySerializer. fromByteArray(byte[] bytes)TagContextNoopTags.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 TagContext Modifier and Type Method Description static java.util.Iterator<Tag>InternalUtils. getTags(TagContext tags)Internal tag accessor.<C> voidNoopTags.NoopTagContextTextFormat. inject(TagContext tagContext, C carrier, TagContextTextFormat.Setter<C> setter)TagContextBuilderNoopTags.NoopTagger. toBuilder(TagContext tags)abstract TagContextBuilderTagger. toBuilder(TagContext tags)Returns a builder based on thisTagContext.byte[]NoopTags.NoopTagContextBinarySerializer. toByteArray(TagContext tags)ScopeNoopTags.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 TagContext Modifier and Type Method Description abstract <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 TagContext Modifier and Type Method Description abstract <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.unsafe Modifier and Type Class Description private static classContextUtils.EmptyTagContextFields in io.opencensus.tags.unsafe declared as TagContext Modifier and Type Field Description private static TagContextContextUtils. EMPTY_TAG_CONTEXTFields in io.opencensus.tags.unsafe with type parameters of type TagContext Modifier and Type Field Description private static io.grpc.Context.Key<TagContext>ContextUtils. TAG_CONTEXT_KEYTheContext.Keyused to interact with theTagContextcontained in theContext.Methods in io.opencensus.tags.unsafe that return TagContext Modifier and Type Method Description static TagContextContextUtils. getValue(io.grpc.Context context)Returns the value from the specifiedContext.Methods in io.opencensus.tags.unsafe with parameters of type TagContext Modifier and Type Method Description static io.grpc.ContextContextUtils. withValue(io.grpc.Context context, TagContext tagContext)Creates a newContextwith the given value set.
-