Uses of Class
io.opencensus.trace.TraceId
Packages that use TraceId
Package
Description
API for distributed tracing.
-
Uses of TraceId in io.opencensus.implcore.trace
Methods in io.opencensus.implcore.trace with parameters of type TraceIdModifier and TypeMethodDescriptionprivate static booleanSpanBuilderImpl.makeSamplingDecision(SpanContext parent, Boolean hasRemoteParent, String name, Sampler sampler, List<Span> parentLinks, TraceId traceId, SpanId spanId, TraceParams activeTraceParams) -
Uses of TraceId in io.opencensus.trace
Classes in io.opencensus.trace that implement interfaces with type arguments of type TraceIdFields in io.opencensus.trace declared as TraceIdModifier and TypeFieldDescriptionstatic final TraceIdTraceId.INVALIDThe invalidTraceId.private final TraceIdAutoValue_Link.traceIdprivate final TraceIdSpanContext.traceIdMethods in io.opencensus.trace that return TraceIdModifier and TypeMethodDescriptionstatic TraceIdTraceId.fromBytes(byte[] src) Returns aTraceIdbuilt from a byte representation.static TraceIdTraceId.fromBytes(byte[] src, int srcOffset) Returns aTraceIdwhose representation is copied from thesrcbeginning at thesrcOffsetoffset.static TraceIdTraceId.fromLowerBase16(CharSequence src) Returns aTraceIdbuilt from a lowercase base16 representation.static TraceIdTraceId.fromLowerBase16(CharSequence src, int srcOffset) Returns aTraceIdbuilt from a lowercase base16 representation.static TraceIdTraceId.generateRandomId(Random random) Generates a new randomTraceId.AutoValue_Link.getTraceId()abstract TraceIdLink.getTraceId()Returns theTraceId.SpanContext.getTraceId()Returns the trace identifier associated with thisSpanContext.Methods in io.opencensus.trace with parameters of type TraceIdModifier and TypeMethodDescriptionintstatic SpanContextSpanContext.create(TraceId traceId, SpanId spanId, TraceOptions traceOptions) Deprecated.static SpanContextSpanContext.create(TraceId traceId, SpanId spanId, TraceOptions traceOptions, Tracestate tracestate) Creates a newSpanContextwith the given identifiers and options.abstract booleanSampler.shouldSample(SpanContext parentContext, Boolean hasRemoteParent, TraceId traceId, SpanId spanId, String name, List<Span> parentLinks) Called duringSpancreation to make a sampling decision.Constructors in io.opencensus.trace with parameters of type TraceIdModifierConstructorDescription(package private)AutoValue_Link(TraceId traceId, SpanId spanId, Link.Type type, Map<String, AttributeValue> attributes) privateSpanContext(TraceId traceId, SpanId spanId, TraceOptions traceOptions, Tracestate tracestate) -
Uses of TraceId in io.opencensus.trace.samplers
Methods in io.opencensus.trace.samplers with parameters of type TraceIdModifier and TypeMethodDescriptionbooleanAlwaysSampleSampler.shouldSample(SpanContext parentContext, Boolean hasRemoteParent, TraceId traceId, SpanId spanId, String name, List<Span> parentLinks) booleanNeverSampleSampler.shouldSample(SpanContext parentContext, Boolean hasRemoteParent, TraceId traceId, SpanId spanId, String name, List<Span> parentLinks) final booleanProbabilitySampler.shouldSample(SpanContext parentContext, Boolean hasRemoteParent, TraceId traceId, SpanId spanId, String name, List<Span> parentLinks)
SpanContext.create(TraceId, SpanId, TraceOptions, Tracestate).