Interface HttpTracer

All Known Subinterfaces:
Tracer
All Known Implementing Classes:
NoopTracer

@ExperimentalApi public interface HttpTracer
HttpTracer helps in creating a Span which reads the incoming tracing information from the HttpRequest header and propagate the span accordingly. All methods on the Tracer object are multi-thread safe.
Opensearch.experimental:
  • Method Summary

    Modifier and Type
    Method
    Description
    startSpan(SpanCreationContext spanCreationContext, Map<String,List<String>> header)
    Start the span with propagating the tracing info from the HttpRequest header.
  • Method Details

    • startSpan

      Span startSpan(SpanCreationContext spanCreationContext, Map<String,List<String>> header)
      Start the span with propagating the tracing info from the HttpRequest header.
      Parameters:
      spanCreationContext - span name.
      header - http request header.
      Returns:
      span.