Uses of Interface
io.opentelemetry.sdk.trace.data.StatusData
-
Packages that use StatusData Package Description io.opentelemetry.exporter.internal.otlp.traces Marshaling of OTLP traces.io.opentelemetry.sdk.trace The OpenTelemetry SDK implementation of tracing.io.opentelemetry.sdk.trace.data 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 StatusData Modifier and Type Method Description (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 StatusData Modifier and Type Field Description private StatusData
AutoValue_SpanWrapper. status
private StatusData
SdkSpan. status
Methods in io.opentelemetry.sdk.trace that return StatusData Modifier and Type Method Description StatusData
SpanWrapper. getStatus()
(package private) StatusData
AutoValue_SpanWrapper. status()
(package private) abstract StatusData
SpanWrapper. status()
Methods in io.opentelemetry.sdk.trace with parameters of type StatusData Modifier and Type Method Description (package private) static SpanWrapper
SpanWrapper. create(SdkSpan delegate, java.util.List<LinkData> links, java.util.List<EventData> events, Attributes attributes, int totalAttributeCount, int totalRecordedEvents, int totalRecordedLinks, StatusData status, java.lang.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 StatusData Constructor Description AutoValue_SpanWrapper(SdkSpan delegate, java.util.List<LinkData> resolvedLinks, java.util.List<EventData> resolvedEvents, Attributes attributes, int totalAttributeCount, int totalRecordedEvents, int totalRecordedLinks, StatusData status, java.lang.String name, long endEpochNanos, boolean internalHasEnded)
-
Uses of StatusData in io.opentelemetry.sdk.trace.data
Classes in io.opentelemetry.sdk.trace.data that implement StatusData Modifier and Type Class Description (package private) class
AutoValue_ImmutableStatusData
(package private) class
ImmutableStatusData
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 StatusData Modifier and Type Field Description (package private) static StatusData
ImmutableStatusData. ERROR
The operation contains an error.(package private) static StatusData
ImmutableStatusData. OK
The operation has been validated by an Application developers or Operator to have completed successfully.(package private) static StatusData
ImmutableStatusData. UNSET
The default status.Methods in io.opentelemetry.sdk.trace.data that return StatusData Modifier and Type Method Description (package private) static StatusData
ImmutableStatusData. create(StatusCode statusCode, java.lang.String description)
Creates a derived instance ofStatus
with the given description.static StatusData
StatusData. create(StatusCode code, java.lang.String description)
private static StatusData
ImmutableStatusData. createInternal(StatusCode statusCode, java.lang.String description)
static StatusData
StatusData. error()
Returns aStatusData
indicating an error occurred.StatusData
DelegatingSpanData. getStatus()
StatusData
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
.
-