Uses of Interface
io.opentelemetry.sdk.trace.data.StatusData
Packages that use StatusData
Package
Description
Marshaling of OTLP traces.
The OpenTelemetry SDK implementation of tracing.
The data format to model traces for export.
-
Uses of StatusData in io.opentelemetry.exporter.internal.otlp.traces
Methods in io.opentelemetry.exporter.internal.otlp.traces with parameters of type StatusDataModifier and TypeMethodDescription(package private) static SpanStatusMarshaler
SpanStatusMarshaler.create
(StatusData status) int
SpanStatusStatelessMarshaler.getBinarySerializedSize
(StatusData status, MarshalerContext context) (package private) static ProtoEnumInfo
SpanStatusMarshaler.toProtoSpanStatus
(StatusData status) void
SpanStatusStatelessMarshaler.writeTo
(Serializer output, StatusData status, MarshalerContext context) -
Uses of StatusData in io.opentelemetry.sdk.trace
Fields in io.opentelemetry.sdk.trace declared as StatusDataModifier and TypeFieldDescriptionprivate final StatusData
AutoValue_SpanWrapper.status
private StatusData
SdkSpan.status
Methods in io.opentelemetry.sdk.trace that return StatusDataModifier and TypeMethodDescriptionSpanWrapper.getStatus()
(package private) StatusData
AutoValue_SpanWrapper.status()
(package private) abstract StatusData
SpanWrapper.status()
Methods in io.opentelemetry.sdk.trace with parameters of type StatusDataModifier and TypeMethodDescription(package private) static SpanWrapper
SpanWrapper.create
(SdkSpan delegate, List<LinkData> links, List<EventData> events, Attributes attributes, int totalAttributeCount, int totalRecordedEvents, int totalRecordedLinks, StatusData status, String name, long endEpochNanos, boolean hasEnded) Note: the collections that are passed into this creator method are assumed to be immutable to preserve the overall immutability of the class.Constructors in io.opentelemetry.sdk.trace with parameters of type StatusDataModifierConstructorDescription(package private)
AutoValue_SpanWrapper
(SdkSpan delegate, List<LinkData> resolvedLinks, List<EventData> resolvedEvents, Attributes attributes, int totalAttributeCount, int totalRecordedEvents, int totalRecordedLinks, StatusData status, String name, long endEpochNanos, boolean internalHasEnded) -
Uses of StatusData in io.opentelemetry.sdk.trace.data
Classes in io.opentelemetry.sdk.trace.data that implement StatusDataModifier and TypeClassDescription(package private) final class
(package private) class
Defines the status of aSpan
by providing a standardStatusCode
in conjunction with an optional descriptive message.Fields in io.opentelemetry.sdk.trace.data declared as StatusDataModifier and TypeFieldDescription(package private) static final StatusData
ImmutableStatusData.ERROR
The operation contains an error.(package private) static final StatusData
ImmutableStatusData.OK
The operation has been validated by an Application developers or Operator to have completed successfully.(package private) static final StatusData
ImmutableStatusData.UNSET
The default status.Methods in io.opentelemetry.sdk.trace.data that return StatusDataModifier and TypeMethodDescription(package private) static StatusData
ImmutableStatusData.create
(StatusCode statusCode, String description) Creates a derived instance ofStatus
with the given description.static StatusData
StatusData.create
(StatusCode code, String description) private static StatusData
ImmutableStatusData.createInternal
(StatusCode statusCode, String description) static StatusData
StatusData.error()
Returns aStatusData
indicating an error occurred.DelegatingSpanData.getStatus()
SpanData.getStatus()
Returns theStatus
.static StatusData
StatusData.ok()
Returns aStatusData
indicating the operation has been validated by an application developer or operator to have completed successfully.static StatusData
StatusData.unset()
Returns the defaultStatusData
.