Uses of Class
com.tnsai.quality.observability.OpenTelemetryTracer.SpanScope
Packages that use OpenTelemetryTracer.SpanScope
Package
Description
Observability and telemetry integration using OpenTelemetry.
-
Uses of OpenTelemetryTracer.SpanScope in com.tnsai.quality.observability
Methods in com.tnsai.quality.observability that return OpenTelemetryTracer.SpanScopeModifier and TypeMethodDescriptionAdds an event to the span.Adds an event with attributes to the span.OpenTelemetryTracer.SpanScope.setAttribute(String key, boolean value) Sets a boolean attribute on the span.OpenTelemetryTracer.SpanScope.setAttribute(String key, double value) Sets a double attribute on the span.OpenTelemetryTracer.SpanScope.setAttribute(String key, long value) Sets a long attribute on the span.OpenTelemetryTracer.SpanScope.setAttribute(String key, String value) Sets a string attribute on the span.OpenTelemetryTracer.SpanScope.setAttributes(Map<String, ?> attributes) Sets multiple attributes from a map.Marks the span as failed with a message.Marks the span as failed with an exception.OpenTelemetryTracer.SpanScope.setSuccess()Marks the span as successful.OpenTelemetryTracer.startChildSpan(TraceContext parent, String operationName) Starts a child span under an existing TraceContext.Starts a new span with the given operation name.Starts a new span with the given operation name and kind.