Uses of Class
io.opencensus.trace.TraceOptions
Packages that use TraceOptions
Package
Description
API for distributed tracing.
-
Uses of TraceOptions in io.opencensus.contrib.http.util
Fields in io.opencensus.contrib.http.util declared as TraceOptionsModifier and TypeFieldDescription(package private) static final TraceOptionsCloudTraceFormat.OPTIONS_NOT_SAMPLED(package private) static final TraceOptionsCloudTraceFormat.OPTIONS_SAMPLED -
Uses of TraceOptions in io.opencensus.implcore.trace
Fields in io.opencensus.implcore.trace declared as TraceOptionsModifier and TypeFieldDescriptionprivate static final TraceOptionsSpanBuilderImpl.NOT_SAMPLED_TRACE_OPTIONSprivate static final TraceOptionsSpanBuilderImpl.SAMPLED_TRACE_OPTIONS -
Uses of TraceOptions in io.opencensus.trace
Fields in io.opencensus.trace declared as TraceOptionsModifier and TypeFieldDescriptionstatic final TraceOptionsTraceOptions.DEFAULTThe defaultTraceOptions.private final TraceOptionsSpanContext.traceOptionsMethods in io.opencensus.trace that return TraceOptionsModifier and TypeMethodDescriptionTraceOptions.Builder.build()Builds and returns aTraceOptionswith the desired options.static TraceOptionsTraceOptions.fromByte(byte src) Returns aTraceOptionswhose representation issrc.static TraceOptionsTraceOptions.fromBytes(byte[] buffer) Deprecated.static TraceOptionsTraceOptions.fromBytes(byte[] src, int srcOffset) Deprecated.static TraceOptionsTraceOptions.fromLowerBase16(CharSequence src, int srcOffset) Returns aTraceOptionbuilt from a lowercase base16 representation.SpanContext.getTraceOptions()Returns theTraceOptionsassociated with thisSpanContext.Methods in io.opencensus.trace with parameters of type TraceOptionsModifier and TypeMethodDescriptionstatic TraceOptions.BuilderTraceOptions.builder(TraceOptions traceOptions) Returns a newTraceOptions.Builderwith all given options set.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.Constructors in io.opencensus.trace with parameters of type TraceOptionsModifierConstructorDescriptionprivateSpanContext(TraceId traceId, SpanId spanId, TraceOptions traceOptions, Tracestate tracestate)
TraceOptions.fromByte(byte).