Uses of Interface
io.opentelemetry.api.trace.TraceState
Packages that use TraceState
Package
Description
Interfaces and implementations that are internal to OpenTelemetry.
API for distributed tracing.
Interfaces and implementations that are internal to OpenTelemetry.
Marshaling of OTLP traces.
This package contains
Sampler
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 TraceStateModifier and TypeFieldDescriptionprivate final TraceState
AutoValue_ImmutableSpanContext.traceState
Methods in io.opentelemetry.api.internal that return TraceStateMethods in io.opentelemetry.api.internal with parameters of type TraceStateModifier and TypeMethodDescriptionstatic SpanContext
ImmutableSpanContext.create
(String traceIdHex, 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
(String traceId, String spanId, TraceFlags traceFlags, TraceState traceState, boolean remote, boolean valid) Constructors in io.opentelemetry.api.internal with parameters of type TraceStateModifierConstructorDescription(package private)
AutoValue_ImmutableSpanContext
(String traceId, 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 TraceStateModifier and TypeClassDescription(package private) class
(package private) final class
Methods in io.opentelemetry.api.trace that return TraceStateModifier and TypeMethodDescriptionArrayBasedTraceStateBuilder.build()
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.SpanContext.getTraceState()
Returns theTraceState
associated with thisSpanContext
.Methods in io.opentelemetry.api.trace with parameters of type TraceStateModifier and TypeMethodDescriptionstatic SpanContext
SpanContext.create
(String traceIdHex, String spanIdHex, TraceFlags traceFlags, TraceState traceState) Creates a newSpanContext
with the given identifiers and options.static SpanContext
SpanContext.createFromRemoteParent
(String traceIdHex, 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 TraceStateModifier and TypeMethodDescriptionstatic TraceState
W3CTraceContextEncoding.decodeTraceState
(String traceStateHeader) Decodes a trace state header into aTraceState
object.Methods in io.opentelemetry.api.trace.propagation.internal with parameters of type TraceStateModifier and TypeMethodDescriptionstatic 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 TraceStateModifier and TypeMethodDescription(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 TraceStateModifier and TypeMethodDescriptiondefault 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 TraceStateModifier and TypeMethodDescriptiondefault TraceState
SamplingResult.getUpdatedTraceState
(TraceState parentTraceState) Return an optionally-updatedTraceState
, based on the parent TraceState.