Interface SpanFilter
-
- All Known Implementing Classes:
SpanIgnoringSpanFilter
public interface SpanFilterAn interface that allows to filter whether a given reported span should be exported or not.- Since:
- 3.0.0
- Author:
- Marcin Grzejszczak
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisExportable(FinishedSpan span)Called to export sampledSpans.
-
-
-
Method Detail
-
isExportable
boolean isExportable(FinishedSpan span)
Called to export sampledSpans.- Parameters:
span- the collection of sampled Spans to be exported.- Returns:
- whether should export spans
-
-