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 Detail

      • NOOP

        static final Reporter<zipkin2.Span> NOOP
      • CONSOLE

        static final Reporter<zipkin2.Span> CONSOLE
    • Method Detail

      • report

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