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.
This package contains
Samplers for selecting traces
that are recorded and exported.-
Uses of TraceState in io.opentelemetry.api.internal
Methods in io.opentelemetry.api.internal with parameters of type TraceStateModifier and TypeMethodDescriptionstatic SpanContextImmutableSpanContext.create(String traceIdHex, String spanIdHex, TraceFlags traceFlags, TraceState traceState, boolean remote, boolean skipIdValidation) Creates a newSpanContextwith the given identifiers and options. -
Uses of TraceState in io.opentelemetry.api.trace
Methods in io.opentelemetry.api.trace that return TraceStateModifier and TypeMethodDescriptionTraceStateBuilder.build()Builds a TraceState by adding the entries to the parent in front of the key-value pairs list and removing duplicate entries.static TraceStateTraceState.getDefault()Returns the defaultTraceStatewith no entries.SpanContext.getTraceState()Returns theTraceStateassociated with thisSpanContext.Methods in io.opentelemetry.api.trace with parameters of type TraceStateModifier and TypeMethodDescriptionstatic SpanContextSpanContext.create(String traceIdHex, String spanIdHex, TraceFlags traceFlags, TraceState traceState) Creates a newSpanContextwith the given identifiers and options.static SpanContextSpanContext.createFromRemoteParent(String traceIdHex, String spanIdHex, TraceFlags traceFlags, TraceState traceState) Creates a newSpanContextthat 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 TraceStateW3CTraceContextEncoding.decodeTraceState(String traceStateHeader) Decodes a trace state header into aTraceStateobject.Methods in io.opentelemetry.api.trace.propagation.internal with parameters of type TraceStateModifier and TypeMethodDescriptionstatic StringW3CTraceContextEncoding.encodeTraceState(TraceState traceState) Return the trace state encoded as a string according to the W3C specification. -
Uses of TraceState in io.opentelemetry.sdk.trace.samplers
Methods in io.opentelemetry.sdk.trace.samplers that return TraceStateModifier and TypeMethodDescriptiondefault TraceStateSamplingResult.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 TraceStateSamplingResult.getUpdatedTraceState(TraceState parentTraceState) Return an optionally-updatedTraceState, based on the parent TraceState.