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 TraceOptions
CloudTraceFormat.OPTIONS_NOT_SAMPLED
(package private) static final TraceOptions
CloudTraceFormat.OPTIONS_SAMPLED
-
Uses of TraceOptions in io.opencensus.implcore.trace
Fields in io.opencensus.implcore.trace declared as TraceOptionsModifier and TypeFieldDescriptionprivate static final TraceOptions
SpanBuilderImpl.NOT_SAMPLED_TRACE_OPTIONS
private static final TraceOptions
SpanBuilderImpl.SAMPLED_TRACE_OPTIONS
-
Uses of TraceOptions in io.opencensus.trace
Fields in io.opencensus.trace declared as TraceOptionsModifier and TypeFieldDescriptionstatic final TraceOptions
TraceOptions.DEFAULT
The defaultTraceOptions
.private final TraceOptions
SpanContext.traceOptions
Methods in io.opencensus.trace that return TraceOptionsModifier and TypeMethodDescriptionTraceOptions.Builder.build()
Builds and returns aTraceOptions
with the desired options.static TraceOptions
TraceOptions.fromByte
(byte src) Returns aTraceOptions
whose representation issrc
.static TraceOptions
TraceOptions.fromBytes
(byte[] buffer) Deprecated.static TraceOptions
TraceOptions.fromBytes
(byte[] src, int srcOffset) Deprecated.usefromByte(byte)
.static TraceOptions
TraceOptions.fromLowerBase16
(CharSequence src, int srcOffset) Returns aTraceOption
built from a lowercase base16 representation.SpanContext.getTraceOptions()
Returns theTraceOptions
associated with thisSpanContext
.Methods in io.opencensus.trace with parameters of type TraceOptionsModifier and TypeMethodDescriptionstatic TraceOptions.Builder
TraceOptions.builder
(TraceOptions traceOptions) Returns a newTraceOptions.Builder
with all given options set.static SpanContext
SpanContext.create
(TraceId traceId, SpanId spanId, TraceOptions traceOptions) Deprecated.static SpanContext
SpanContext.create
(TraceId traceId, SpanId spanId, TraceOptions traceOptions, Tracestate tracestate) Creates a newSpanContext
with the given identifiers and options.Constructors in io.opencensus.trace with parameters of type TraceOptionsModifierConstructorDescriptionprivate
SpanContext
(TraceId traceId, SpanId spanId, TraceOptions traceOptions, Tracestate tracestate)
fromByte(byte)
.