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