Uses of Enum
io.opentelemetry.api.trace.StatusCode
Packages that use StatusCode
Package
Description
API for distributed tracing.
The OpenTelemetry SDK implementation of tracing.
The data format to model traces for export.
-
Uses of StatusCode in io.opentelemetry.api.trace
Methods in io.opentelemetry.api.trace that return StatusCodeModifier and TypeMethodDescriptionstatic StatusCodeReturns the enum constant of this type with the specified name.static StatusCode[]StatusCode.values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in io.opentelemetry.api.trace with parameters of type StatusCodeModifier and TypeMethodDescriptionPropagatedSpan.setStatus(StatusCode statusCode) PropagatedSpan.setStatus(StatusCode statusCode, String description) default SpanSpan.setStatus(StatusCode statusCode) Sets the status to theSpan.Span.setStatus(StatusCode statusCode, String description) Sets the status to theSpan. -
Uses of StatusCode in io.opentelemetry.sdk.trace
Methods in io.opentelemetry.sdk.trace with parameters of type StatusCode -
Uses of StatusCode in io.opentelemetry.sdk.trace.data
Fields in io.opentelemetry.sdk.trace.data declared as StatusCodeModifier and TypeFieldDescriptionprivate final StatusCodeAutoValue_ImmutableStatusData.statusCodeMethods in io.opentelemetry.sdk.trace.data that return StatusCodeModifier and TypeMethodDescriptionAutoValue_ImmutableStatusData.getStatusCode()StatusData.getStatusCode()Returns the status code.Methods in io.opentelemetry.sdk.trace.data with parameters of type StatusCodeModifier and TypeMethodDescription(package private) static StatusDataImmutableStatusData.create(StatusCode statusCode, String description) Creates a derived instance ofStatuswith the given description.static StatusDataStatusData.create(StatusCode code, String description) private static StatusDataImmutableStatusData.createInternal(StatusCode statusCode, String description) Constructors in io.opentelemetry.sdk.trace.data with parameters of type StatusCodeModifierConstructorDescription(package private)AutoValue_ImmutableStatusData(StatusCode statusCode, String description)