Interface TransportTracer

All Known Subinterfaces:
Tracer
All Known Implementing Classes:
NoopTracer

@ExperimentalApi public interface TransportTracer
TransportTracer helps in creating a Span which reads the incoming tracing information from the HTTP or TCP transport headers and propagate the span accordingly.

All methods on the Tracer object are multi-thread safe.

Opensearch.experimental:
  • Method Details

    • startSpan

      Span startSpan(SpanCreationContext spanCreationContext, Map<String, Collection<String>> headers)
      Start the span with propagating the tracing info from the HttpRequest header.
      Parameters:
      spanCreationContext - span name.
      headers - transport headers
      Returns:
      the span instance