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 TypeMethodDescriptionboolean
isExportable
(FinishedSpan span) Called to export sampledSpan
s.
-
Method Details
-
isExportable
Called to export sampledSpan
s.- Parameters:
span
- the collection of sampled Spans to be exported.- Returns:
- whether should export spans
-