Uses of Enum
io.opentelemetry.api.trace.StatusCode
Packages that use StatusCode
Package
Description
API for distributed tracing.
The data format to model traces for export.
-
Uses of StatusCode in io.opentelemetry.api.trace
Subclasses with type arguments of type StatusCode in io.opentelemetry.api.traceMethods 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 TypeMethodDescriptiondefault 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.data
Methods in io.opentelemetry.sdk.trace.data that return StatusCodeMethods in io.opentelemetry.sdk.trace.data with parameters of type StatusCodeModifier and TypeMethodDescriptionstatic StatusDataStatusData.create(StatusCode code, String description)