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 TraceFlagsAutoValue_ImmutableSpanContext.traceFlagsMethods in io.opentelemetry.api.internal that return TraceFlagsMethods 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.private static AutoValue_ImmutableSpanContextImmutableSpanContext.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 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.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 intLogMarshaler.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 TraceFlagsModifierConstructorDescriptionprivateLogMarshaler(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 TraceFlagsSpanMarshaler.flagsprivate final TraceFlagsSpanLinkMarshaler.traceFlagsMethods 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 TypeMethodDescriptionprivate static intSpanLinkMarshaler.calculateSize(String traceId, String spanId, TraceFlags flags, byte[] traceStateUtf8, KeyValueMarshaler[] attributeMarshalers, int droppedAttributesCount, boolean isLinkContextRemote) private static intSpanMarshaler.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 intSpanFlags.withParentIsRemoteFlags(TraceFlags traceFlags, boolean isParentRemote) Returns the int (fixed32) representation of theTraceFlagsenriched with the flags indicating a remote parent.Constructors in io.opentelemetry.exporter.internal.otlp.traces with parameters of type TraceFlagsModifierConstructorDescriptionprivateSpanLinkMarshaler(String traceId, String spanId, TraceFlags traceFlags, byte[] traceStateUtf8, KeyValueMarshaler[] attributeMarshalers, int droppedAttributesCount, boolean isLinkContextRemote) privateSpanMarshaler(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)