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) TagContext
HttpRequestContext. tagContext
Methods in io.opencensus.contrib.http with parameters of type TagContext Modifier and Type Method Description (package private) HttpRequestContext
AbstractHttpHandler. 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 TagContext
StatsManager.StatsEvent. tags
Methods 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)
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, java.util.Map<java.lang.String,AttachmentValue> attachments)
(package private) void
MutableViewData.IntervalMutableViewData. record(TagContext context, double value, Timestamp timestamp, java.util.Map<java.lang.String,AttachmentValue> attachments)
(package private) abstract void
MutableViewData. record(TagContext context, double value, Timestamp timestamp, java.util.Map<java.lang.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 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 class
TagMapImpl
Implementation ofTagContext
.Methods in io.opencensus.implcore.tags that return TagContext Modifier and Type Method Description TagContext
NoopTagMapBuilder. build()
(package private) static TagContext
CurrentTagMapUtils. getCurrentTagMap()
Returns theTagContext
from the current context.Methods in io.opencensus.implcore.tags with parameters of type TagContext Modifier and Type Method Description TagContextBuilder
TaggerImpl. toBuilder(TagContext tags)
private static TagMapBuilderImpl
TaggerImpl. toTagMapBuilderImpl(TagContext tags)
private static TagMapImpl
TaggerImpl. toTagMapImpl(TagContext tags)
Scope
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 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> TagContext
CorrelationContextFormat. extract(C carrier, TagContextTextFormat.Getter<C> getter)
TagContext
TagContextBinarySerializerImpl. fromByteArray(byte[] bytes)
Methods in io.opencensus.implcore.tags.propagation with parameters of type TagContext Modifier and Type Method Description <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 TagContext Modifier and Type Method Description abstract 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.tags Modifier and Type Class Description private static class
NoopTags.NoopTagContext
Fields in io.opencensus.tags declared as TagContext Modifier and Type Field Description (package private) static TagContext
NoopTags.NoopTagContext. INSTANCE
Methods in io.opencensus.tags that return TagContext Modifier and Type Method Description TagContext
NoopTags.NoopTagContextBuilder. build()
abstract TagContext
TagContextBuilder. build()
Creates aTagContext
from this builder.TagContext
NoopTags.NoopTagger. empty()
abstract TagContext
Tagger. empty()
Returns an emptyTagContext
.<C> TagContext
NoopTags.NoopTagContextTextFormat. extract(C carrier, TagContextTextFormat.Getter<C> getter)
TagContext
NoopTags.NoopTagContextBinarySerializer. fromByteArray(byte[] bytes)
TagContext
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 TagContext Modifier and Type Method Description static java.util.Iterator<Tag>
InternalUtils. getTags(TagContext tags)
Internal tag accessor.<C> void
NoopTags.NoopTagContextTextFormat. inject(TagContext tagContext, C carrier, TagContextTextFormat.Setter<C> setter)
TagContextBuilder
NoopTags.NoopTagger. toBuilder(TagContext tags)
abstract TagContextBuilder
Tagger. toBuilder(TagContext tags)
Returns a builder based on thisTagContext
.byte[]
NoopTags.NoopTagContextBinarySerializer. toByteArray(TagContext tags)
Scope
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 TagContext Modifier and Type Method Description abstract <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 TagContext Modifier and Type Method Description abstract <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.unsafe Modifier and Type Class Description private static class
ContextUtils.EmptyTagContext
Fields in io.opencensus.tags.unsafe declared as TagContext Modifier and Type Field Description private static TagContext
ContextUtils. EMPTY_TAG_CONTEXT
Fields 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_KEY
TheContext.Key
used to interact with theTagContext
contained in theContext
.Methods in io.opencensus.tags.unsafe that return TagContext Modifier and Type Method Description static TagContext
ContextUtils. 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.Context
ContextUtils. withValue(io.grpc.Context context, TagContext tagContext)
Creates a newContext
with the given value set.
-