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 StatusCode
Returns 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 Span
Span.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 StatusCode
AutoValue_ImmutableStatusData.statusCode
Methods 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 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) Constructors in io.opentelemetry.sdk.trace.data with parameters of type StatusCodeModifierConstructorDescription(package private)
AutoValue_ImmutableStatusData
(StatusCode statusCode, String description)