Class LoggingSpanReporter

  • All Implemented Interfaces:
    zipkin2.reporter.Reporter<zipkin2.Span>

    public class LoggingSpanReporter
    extends Object
    implements zipkin2.reporter.Reporter<zipkin2.Span>
    Supports logging zipkin spans with the Zipkin JSON V2 format, for easy consumption through log analysers.

    To collect logging from this reporter, simply enable the logger for this class at INFO level.

    Since:
    7.14.0
    • Constructor Detail

      • LoggingSpanReporter

        public LoggingSpanReporter()
    • Method Detail

      • report

        public void report​(zipkin2.Span span)
        Specified by:
        report in interface zipkin2.reporter.Reporter<zipkin2.Span>