Class LoggingSpanReporter

java.lang.Object
com.atlassian.confluence.util.zipkin.impl.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 Details

    • LoggingSpanReporter

      public LoggingSpanReporter()
  • Method Details

    • report

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