Interface SpanReporter

All Superinterfaces:
AutoCloseable

public interface SpanReporter extends AutoCloseable
An interface that allows to process spans after they got finished.
Since:
1.0.0
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
     
    void
    Reports the finished span.
  • Method Details

    • report

      void report(FinishedSpan span)
      Reports the finished span.
      Parameters:
      span - a span that was ended and is ready to be reported.
    • close

      default void close() throws Exception
      Specified by:
      close in interface AutoCloseable
      Throws:
      Exception