Package com.wavefront.agent.preprocessor
Class SpanDropAnnotationTransformer
- java.lang.Object
-
- com.wavefront.agent.preprocessor.SpanDropAnnotationTransformer
-
- All Implemented Interfaces:
com.google.common.base.Function<wavefront.report.Span,wavefront.report.Span>
,Function<wavefront.report.Span,wavefront.report.Span>
public class SpanDropAnnotationTransformer extends Object implements com.google.common.base.Function<wavefront.report.Span,wavefront.report.Span>
Removes a span annotation with a specific key if its value matches an optional regex pattern (always remove if null)- Author:
- [email protected]
-
-
Constructor Summary
Constructors Constructor Description SpanDropAnnotationTransformer(String key, String patternMatch, boolean firstMatchOnly, Predicate<wavefront.report.Span> v2Predicate, PreprocessorRuleMetrics ruleMetrics)
-