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 logs.
Marshaling of OTLP traces.
-
Uses of TraceFlags in io.opentelemetry.api.internal
Fields in io.opentelemetry.api.internal declared as TraceFlagsModifier and TypeFieldDescriptionprivate final TraceFlags
AutoValue_ImmutableSpanContext.traceFlags
Methods in io.opentelemetry.api.internal that return TraceFlagsMethods in io.opentelemetry.api.internal with parameters of type TraceFlagsModifier 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 TraceFlagsModifierConstructorDescription(package private)
AutoValue_ImmutableSpanContext
(String traceId, String spanId, TraceFlags traceFlags, TraceState traceState, boolean remote, boolean valid) -
Uses of TraceFlags in io.opentelemetry.api.trace
Classes in io.opentelemetry.api.trace that implement TraceFlagsMethods in io.opentelemetry.api.trace that return TraceFlagsModifier and TypeMethodDescriptionstatic TraceFlags
TraceFlags.fromByte
(byte traceFlagsByte) Returns theTraceFlags
converted from the given byte representation.static TraceFlags
TraceFlags.fromHex
(CharSequence src, int srcOffset) Returns theTraceFlags
converted from the given lowercase hex (base16) representation.static TraceFlags
TraceFlags.getDefault()
Returns the default (with all flag bits off) byte representation of theTraceFlags
.static TraceFlags
TraceFlags.getSampled()
Returns the lowercase hex (base16) representation of theTraceFlags
with 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 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 TraceFlags in io.opentelemetry.exporter.internal.otlp.logs
Fields in io.opentelemetry.exporter.internal.otlp.logs declared as TraceFlagsMethods in io.opentelemetry.exporter.internal.otlp.logs with parameters of type TraceFlagsModifier and TypeMethodDescriptionprivate static int
LogMarshaler.calculateSize
(long timeUnixNano, long observedTimeUnixNano, ProtoEnumInfo severityNumber, byte[] severityText, MarshalerWithSize anyValueMarshaler, KeyValueMarshaler[] attributeMarshalers, int droppedAttributesCount, TraceFlags traceFlags, String traceId, String spanId) Constructors in io.opentelemetry.exporter.internal.otlp.logs with parameters of type TraceFlagsModifierConstructorDescriptionprivate
LogMarshaler
(long timeUnixNano, long observedTimeUnixNano, ProtoEnumInfo severityNumber, byte[] severityText, MarshalerWithSize anyValueMarshaler, KeyValueMarshaler[] attributeMarshalers, int droppedAttributesCount, TraceFlags traceFlags, String traceId, String spanId) -
Uses of TraceFlags in io.opentelemetry.exporter.internal.otlp.traces
Fields in io.opentelemetry.exporter.internal.otlp.traces declared as TraceFlagsModifier and TypeFieldDescriptionprivate final TraceFlags
SpanMarshaler.flags
private final TraceFlags
SpanLinkMarshaler.traceFlags
Methods in io.opentelemetry.exporter.internal.otlp.traces that return TraceFlagsModifier and TypeMethodDescriptionstatic TraceFlags
SpanFlags.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 TypeMethodDescriptionprivate static int
SpanLinkMarshaler.calculateSize
(String traceId, String spanId, TraceFlags flags, byte[] traceStateUtf8, KeyValueMarshaler[] attributeMarshalers, int droppedAttributesCount, boolean isLinkContextRemote) private static int
SpanMarshaler.calculateSize
(String traceId, String spanId, byte[] traceStateUtf8, String parentSpanId, byte[] nameUtf8, ProtoEnumInfo spanKind, long startEpochNanos, long endEpochNanos, KeyValueMarshaler[] attributeMarshalers, int droppedAttributesCount, SpanEventMarshaler[] spanEventMarshalers, int droppedEventsCount, SpanLinkMarshaler[] spanLinkMarshalers, int droppedLinksCount, SpanStatusMarshaler spanStatusMarshaler, TraceFlags flags, boolean isParentContextRemote) static int
SpanFlags.withParentIsRemoteFlags
(TraceFlags traceFlags, boolean isParentRemote) Returns the int (fixed32) representation of theTraceFlags
enriched with the flags indicating a remote parent.Constructors in io.opentelemetry.exporter.internal.otlp.traces with parameters of type TraceFlagsModifierConstructorDescriptionprivate
SpanLinkMarshaler
(String traceId, String spanId, TraceFlags traceFlags, byte[] traceStateUtf8, KeyValueMarshaler[] attributeMarshalers, int droppedAttributesCount, boolean isLinkContextRemote) private
SpanMarshaler
(String traceId, String spanId, byte[] traceStateUtf8, String parentSpanId, byte[] nameUtf8, ProtoEnumInfo spanKind, long startEpochNanos, long endEpochNanos, KeyValueMarshaler[] attributeMarshalers, int droppedAttributesCount, SpanEventMarshaler[] spanEventMarshalers, int droppedEventsCount, SpanLinkMarshaler[] spanLinkMarshalers, int droppedLinksCount, SpanStatusMarshaler spanStatusMarshaler, TraceFlags flags, boolean isParentContextRemote)