Uses of Class
io.opencensus.trace.TraceOptions
-
Packages that use TraceOptions Package Description io.opencensus.contrib.http.util io.opencensus.implcore.trace io.opencensus.trace API for distributed tracing. -
-
Uses of TraceOptions in io.opencensus.contrib.http.util
Fields in io.opencensus.contrib.http.util declared as TraceOptions Modifier and Type Field Description (package private) static TraceOptions
CloudTraceFormat. OPTIONS_NOT_SAMPLED
(package private) static TraceOptions
CloudTraceFormat. OPTIONS_SAMPLED
-
Uses of TraceOptions in io.opencensus.implcore.trace
Fields in io.opencensus.implcore.trace declared as TraceOptions Modifier and Type Field Description private static TraceOptions
SpanBuilderImpl. NOT_SAMPLED_TRACE_OPTIONS
private static TraceOptions
SpanBuilderImpl. SAMPLED_TRACE_OPTIONS
-
Uses of TraceOptions in io.opencensus.trace
Fields in io.opencensus.trace declared as TraceOptions Modifier and Type Field Description static TraceOptions
TraceOptions. DEFAULT
The defaultTraceOptions
.private TraceOptions
SpanContext. traceOptions
Methods in io.opencensus.trace that return TraceOptions Modifier and Type Method Description TraceOptions
TraceOptions.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.usefromByte(byte)
.static TraceOptions
TraceOptions. fromBytes(byte[] src, int srcOffset)
Deprecated.usefromByte(byte)
.static TraceOptions
TraceOptions. fromLowerBase16(java.lang.CharSequence src, int srcOffset)
Returns aTraceOption
built from a lowercase base16 representation.TraceOptions
SpanContext. getTraceOptions()
Returns theTraceOptions
associated with thisSpanContext
.Methods in io.opencensus.trace with parameters of type TraceOptions Modifier and Type Method Description static 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 TraceOptions Constructor Description SpanContext(TraceId traceId, SpanId spanId, TraceOptions traceOptions, Tracestate tracestate)
-