Interface SpanExportingPredicate

All Known Implementing Classes:
SpanIgnoringSpanExportingPredicate

public interface SpanExportingPredicate
An interface that allows to filter whether a given reported span should be exported or not.
Since:
1.0.0
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Called to export sampled Spans.
  • Method Details

    • isExportable

      boolean isExportable(FinishedSpan span)
      Called to export sampled Spans.
      Parameters:
      span - the collection of sampled Spans to be exported.
      Returns:
      whether should export spans