Class AbstractSpan
java.lang.Object
org.opensearch.telemetry.tracing.AbstractSpan
- All Implemented Interfaces:
Span
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractSpan(String spanName, Span parentSpan) Base constructor -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.telemetry.tracing.Span
addAttribute, addAttribute, addAttribute, addAttribute, addEvent, endSpan, getSpanId, getTraceId, setError
-
Constructor Details
-
AbstractSpan
-
-
Method Details
-
getParentSpan
Description copied from interface:SpanReturns span's parent span- Specified by:
getParentSpanin interfaceSpan
-
getSpanName
Description copied from interface:SpanReturns the name of theSpan- Specified by:
getSpanNamein interfaceSpan
-