Uses of Class
io.opentelemetry.api.trace.StatusCode
-
Packages that use StatusCode Package Description io.opentelemetry.api.trace API for distributed tracing.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 StatusCode in io.opentelemetry.api.trace
Methods in io.opentelemetry.api.trace that return StatusCode Modifier and Type Method Description static StatusCode
StatusCode. valueOf(java.lang.String name)
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 StatusCode Modifier and Type Method Description Span
PropagatedSpan. setStatus(StatusCode statusCode)
Span
PropagatedSpan. setStatus(StatusCode statusCode, java.lang.String description)
default Span
Span. setStatus(StatusCode statusCode)
Sets the status to theSpan
.Span
Span. setStatus(StatusCode statusCode, java.lang.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 Modifier and Type Method Description ReadWriteSpan
SdkSpan. setStatus(StatusCode statusCode, java.lang.String description)
-
Uses of StatusCode in io.opentelemetry.sdk.trace.data
Fields in io.opentelemetry.sdk.trace.data declared as StatusCode Modifier and Type Field Description private StatusCode
AutoValue_ImmutableStatusData. statusCode
Methods in io.opentelemetry.sdk.trace.data that return StatusCode Modifier and Type Method Description StatusCode
AutoValue_ImmutableStatusData. getStatusCode()
StatusCode
StatusData. getStatusCode()
Returns the status code.Methods in io.opentelemetry.sdk.trace.data with parameters of type StatusCode 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)
Constructors in io.opentelemetry.sdk.trace.data with parameters of type StatusCode Constructor Description AutoValue_ImmutableStatusData(StatusCode statusCode, java.lang.String description)
-