Uses of Interface
io.opentelemetry.api.trace.TraceState
-
Packages that use TraceState Package Description io.opentelemetry.api.internal Interfaces and implementations that are internal to OpenTelemetry.io.opentelemetry.api.trace API for distributed tracing.io.opentelemetry.api.trace.propagation.internal Interfaces and implementations that are internal to OpenTelemetry.io.opentelemetry.exporter.internal.otlp.traces Marshaling of OTLP traces.io.opentelemetry.sdk.trace.samplers This package containsSampler
s for selecting traces that are recorded and exported. -
-
Uses of TraceState in io.opentelemetry.api.internal
Fields in io.opentelemetry.api.internal declared as TraceState Modifier and Type Field Description private TraceState
AutoValue_ImmutableSpanContext. traceState
Methods in io.opentelemetry.api.internal that return TraceState Modifier and Type Method Description TraceState
AutoValue_ImmutableSpanContext. getTraceState()
Methods in io.opentelemetry.api.internal with parameters of type TraceState Modifier and Type Method Description static SpanContext
ImmutableSpanContext. create(java.lang.String traceIdHex, java.lang.String spanIdHex, TraceFlags traceFlags, TraceState traceState, boolean remote, boolean skipIdValidation)
Creates a newSpanContext
with the given identifiers and options.private static AutoValue_ImmutableSpanContext
ImmutableSpanContext. createInternal(java.lang.String traceId, java.lang.String spanId, TraceFlags traceFlags, TraceState traceState, boolean remote, boolean valid)
Constructors in io.opentelemetry.api.internal with parameters of type TraceState Constructor Description AutoValue_ImmutableSpanContext(java.lang.String traceId, java.lang.String spanId, TraceFlags traceFlags, TraceState traceState, boolean remote, boolean valid)
-
Uses of TraceState in io.opentelemetry.api.trace
Classes in io.opentelemetry.api.trace that implement TraceState Modifier and Type Class Description (package private) class
ArrayBasedTraceState
(package private) class
AutoValue_ArrayBasedTraceState
Methods in io.opentelemetry.api.trace that return TraceState Modifier and Type Method Description TraceState
ArrayBasedTraceStateBuilder. build()
TraceState
TraceStateBuilder. build()
Builds a TraceState by adding the entries to the parent in front of the key-value pairs list and removing duplicate entries.(package private) static TraceState
ArrayBasedTraceStateBuilder. empty()
static TraceState
TraceState. getDefault()
Returns the defaultTraceState
with no entries.TraceState
SpanContext. getTraceState()
Returns theTraceState
associated with thisSpanContext
.Methods in io.opentelemetry.api.trace with parameters of type TraceState Modifier and Type Method Description static SpanContext
SpanContext. create(java.lang.String traceIdHex, java.lang.String spanIdHex, TraceFlags traceFlags, TraceState traceState)
Creates a newSpanContext
with the given identifiers and options.static SpanContext
SpanContext. createFromRemoteParent(java.lang.String traceIdHex, java.lang.String spanIdHex, TraceFlags traceFlags, TraceState traceState)
Creates a newSpanContext
that was propagated from a remote parent, with the given identifiers and options. -
Uses of TraceState in io.opentelemetry.api.trace.propagation.internal
Methods in io.opentelemetry.api.trace.propagation.internal that return TraceState Modifier and Type Method Description static TraceState
W3CTraceContextEncoding. decodeTraceState(java.lang.String traceStateHeader)
Decodes a trace state header into aTraceState
object.Methods in io.opentelemetry.api.trace.propagation.internal with parameters of type TraceState Modifier and Type Method Description static java.lang.String
W3CTraceContextEncoding. encodeTraceState(TraceState traceState)
Return the trace state encoded as a string according to the W3C specification. -
Uses of TraceState in io.opentelemetry.exporter.internal.otlp.traces
Methods in io.opentelemetry.exporter.internal.otlp.traces with parameters of type TraceState Modifier and Type Method Description (package private) static byte[]
SpanMarshaler. encodeTraceState(TraceState traceState)
-
Uses of TraceState in io.opentelemetry.sdk.trace.samplers
Methods in io.opentelemetry.sdk.trace.samplers that return TraceState Modifier and Type Method Description default TraceState
SamplingResult. getUpdatedTraceState(TraceState parentTraceState)
Return an optionally-updatedTraceState
, based on the parent TraceState.Methods in io.opentelemetry.sdk.trace.samplers with parameters of type TraceState Modifier and Type Method Description default TraceState
SamplingResult. getUpdatedTraceState(TraceState parentTraceState)
Return an optionally-updatedTraceState
, based on the parent TraceState.
-