Class SpanContext
java.lang.Object
org.opensearch.telemetry.tracing.SpanContext
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
SpanContext
-
-
Method Details
-
setError
Sets the error for the current span behind this context- Parameters:
cause- error
-
endSpan
public void endSpan()Ends current span
-