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 StatusCodeStatusCode. 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 SpanPropagatedSpan. setStatus(StatusCode statusCode)SpanPropagatedSpan. setStatus(StatusCode statusCode, java.lang.String description)default SpanSpan. setStatus(StatusCode statusCode)Sets the status to theSpan.SpanSpan. 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 ReadWriteSpanSdkSpan. 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 StatusCodeAutoValue_ImmutableStatusData. statusCodeMethods in io.opentelemetry.sdk.trace.data that return StatusCode Modifier and Type Method Description StatusCodeAutoValue_ImmutableStatusData. getStatusCode()StatusCodeStatusData. 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 StatusDataImmutableStatusData. create(StatusCode statusCode, java.lang.String description)Creates a derived instance ofStatuswith the given description.static StatusDataStatusData. create(StatusCode code, java.lang.String description)private static StatusDataImmutableStatusData. 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)
-