Uses of Class
io.opencensus.trace.TraceId
Packages that use TraceId
-
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 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.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.
SpanContext.create(TraceId, SpanId, TraceOptions, Tracestate).