Package zipkin2.reporter
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, usuallySpan
, 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).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
report(S span)
Schedules the span to be sent onto the transport.
-