Uses of Interface
io.opentelemetry.api.trace.TraceFlags
Packages that use TraceFlags
Package
Description
Interfaces and implementations that are internal to OpenTelemetry.
API for distributed tracing.
Marshaling of OTLP traces.
-
Uses of TraceFlags in io.opentelemetry.api.internal
Methods in io.opentelemetry.api.internal with parameters of type TraceFlagsModifier 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 TraceFlags in io.opentelemetry.api.trace
Methods in io.opentelemetry.api.trace that return TraceFlagsModifier and TypeMethodDescriptionstatic TraceFlagsTraceFlags.fromByte(byte traceFlagsByte) Returns theTraceFlagsconverted from the given byte representation.static TraceFlagsTraceFlags.fromHex(CharSequence src, int srcOffset) Returns theTraceFlagsconverted from the given lowercase hex (base16) representation.static TraceFlagsTraceFlags.getDefault()Returns the default (with all flag bits off) byte representation of theTraceFlags.static TraceFlagsTraceFlags.getSampled()Returns the lowercase hex (base16) representation of theTraceFlagswith the sampling flag bit on.SpanContext.getTraceFlags()Returns the trace flags associated with thisSpanContext.Methods in io.opentelemetry.api.trace with parameters of type TraceFlagsModifier 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 TraceFlags in io.opentelemetry.exporter.internal.otlp.traces
Methods in io.opentelemetry.exporter.internal.otlp.traces that return TraceFlagsModifier and TypeMethodDescriptionstatic TraceFlagsSpanFlags.getTraceFlags(int flags) Returns the W3CTraceFlags(least significant 8 bits) portion from the given 32 bit span flags fields.Methods in io.opentelemetry.exporter.internal.otlp.traces with parameters of type TraceFlagsModifier and TypeMethodDescriptionstatic intSpanFlags.withParentIsRemoteFlags(TraceFlags traceFlags, boolean isParentRemote) Returns the int (fixed32) representation of theTraceFlagsenriched with the flags indicating a remote parent.