Package org.opensearch.telemetry.tracing
Interface Tracer
- All Superinterfaces:
AutoCloseable,Closeable
- All Known Implementing Classes:
NoopTracer
Tracer is the interface used to create a
Span
It automatically handles the context propagation between threads, tasks, nodes etc.
All methods on the Tracer object are multi-thread safe.-
Method Summary
-
Method Details
-
startSpan
Starts theSpanwith given name- Parameters:
spanName- span name- Returns:
- scope of the span, must be closed with explicit close or with try-with-resource
-