Package io.micrometer.tracing.exporter
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 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
-