Package com.wavefront.agent.preprocessor
Class SpanReplaceRegexTransformer
- java.lang.Object
-
- com.wavefront.agent.preprocessor.SpanReplaceRegexTransformer
-
- All Implemented Interfaces:
com.google.common.base.Function<wavefront.report.Span,wavefront.report.Span>
,Function<wavefront.report.Span,wavefront.report.Span>
public class SpanReplaceRegexTransformer extends Object implements com.google.common.base.Function<wavefront.report.Span,wavefront.report.Span>
Replace regex transformer. Performs search and replace on a specified component of a span (span name, source name or an annotation value, depending on "scope" parameter.- Author:
- [email protected]
-
-
Constructor Summary
Constructors Constructor Description SpanReplaceRegexTransformer(String scope, String patternSearch, String patternReplace, String patternMatch, Integer maxIterations, boolean firstMatchOnly, Predicate<wavefront.report.Span> v2Predicate, PreprocessorRuleMetrics ruleMetrics)
-
-
-
Constructor Detail
-
SpanReplaceRegexTransformer
public SpanReplaceRegexTransformer(String scope, String patternSearch, String patternReplace, @Nullable String patternMatch, @Nullable Integer maxIterations, boolean firstMatchOnly, @Nullable Predicate<wavefront.report.Span> v2Predicate, PreprocessorRuleMetrics ruleMetrics)
-
-