Uses of Class
io.opencensus.trace.TraceId
-
Packages that use TraceId Package Description io.opencensus.implcore.trace io.opencensus.trace API for distributed tracing.io.opencensus.trace.samplers -
-
Uses of TraceId in io.opencensus.implcore.trace
Methods in io.opencensus.implcore.trace with parameters of type TraceId Modifier and Type Method Description private static booleanSpanBuilderImpl. makeSamplingDecision(SpanContext parent, java.lang.Boolean hasRemoteParent, java.lang.String name, Sampler sampler, java.util.List<Span> parentLinks, TraceId traceId, SpanId spanId, TraceParams activeTraceParams) -
Uses of TraceId in io.opencensus.trace
Fields in io.opencensus.trace declared as TraceId Modifier and Type Field Description static TraceIdTraceId. INVALIDThe invalidTraceId.private TraceIdAutoValue_Link. traceIdprivate TraceIdSpanContext. traceIdMethods in io.opencensus.trace that return TraceId Modifier and Type Method Description static 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(java.lang.CharSequence src)Returns aTraceIdbuilt from a lowercase base16 representation.static TraceIdTraceId. fromLowerBase16(java.lang.CharSequence src, int srcOffset)Returns aTraceIdbuilt from a lowercase base16 representation.static TraceIdTraceId. generateRandomId(java.util.Random random)Generates a new randomTraceId.TraceIdAutoValue_Link. getTraceId()abstract TraceIdLink. getTraceId()Returns theTraceId.TraceIdSpanContext. getTraceId()Returns the trace identifier associated with thisSpanContext.Methods in io.opencensus.trace with parameters of type TraceId Modifier and Type Method Description intTraceId. compareTo(TraceId that)static 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, java.lang.Boolean hasRemoteParent, TraceId traceId, SpanId spanId, java.lang.String name, java.util.List<Span> parentLinks)Called duringSpancreation to make a sampling decision.Constructors in io.opencensus.trace with parameters of type TraceId Constructor Description AutoValue_Link(TraceId traceId, SpanId spanId, Link.Type type, java.util.Map<java.lang.String,AttributeValue> attributes)SpanContext(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 TraceId Modifier and Type Method Description booleanAlwaysSampleSampler. shouldSample(SpanContext parentContext, java.lang.Boolean hasRemoteParent, TraceId traceId, SpanId spanId, java.lang.String name, java.util.List<Span> parentLinks)booleanNeverSampleSampler. shouldSample(SpanContext parentContext, java.lang.Boolean hasRemoteParent, TraceId traceId, SpanId spanId, java.lang.String name, java.util.List<Span> parentLinks)booleanProbabilitySampler. shouldSample(SpanContext parentContext, java.lang.Boolean hasRemoteParent, TraceId traceId, SpanId spanId, java.lang.String name, java.util.List<Span> parentLinks)
-