Class SpanIgnoringSpanFilter
java.lang.Object
org.springframework.cloud.sleuth.exporter.SpanIgnoringSpanFilter
- All Implemented Interfaces:
SpanFilter
SpanFilter that ignores spans via names.- Since:
- 3.0.0
- Author:
- Marcin Grzejszczak
-
Constructor Summary
ConstructorsConstructorDescriptionSpanIgnoringSpanFilter(List<String> spanNamePatternsToSkip, List<String> additionalSpanNamePatternsToIgnore) -
Method Summary
Modifier and TypeMethodDescriptionbooleanisExportable(FinishedSpan span) Called to export sampledSpans.
-
Constructor Details
-
SpanIgnoringSpanFilter
-
-
Method Details
-
isExportable
Description copied from interface:SpanFilterCalled to export sampledSpans.- Specified by:
isExportablein interfaceSpanFilter- Parameters:
span- the collection of sampled Spans to be exported.- Returns:
- whether should export spans
-