Interface Reporter<S>

All Known Implementing Classes:
AsyncReporter

public interface Reporter<S>
Spans are created in instrumentation, transported out-of-band, and eventually persisted. Reporters sends spans (or encoded spans) recorded by instrumentation out of process. Type of span to report, usually Span, but extracted for reporting other java types like HTrace spans to zipkin, and to allow future Zipkin model types to be reported (ex. zipkin2.Span).
  • Field Summary

    Fields 
    Modifier and Type Field Description
    static Reporter<zipkin2.Span> CONSOLE  
    static Reporter<zipkin2.Span> NOOP  
  • Method Summary

    Modifier and Type Method Description
    void report​(S span)
    Schedules the span to be sent onto the transport.
  • Field Details

  • Method Details

    • report

      void report​(S span)
      Schedules the span to be sent onto the transport.
      Parameters:
      span - Span, should not be null.