Package com.wavefront.agent.preprocessor
Class ReportPointReplaceRegexTransformer
- java.lang.Object
-
- com.wavefront.agent.preprocessor.ReportPointReplaceRegexTransformer
-
- All Implemented Interfaces:
com.google.common.base.Function<wavefront.report.ReportPoint,wavefront.report.ReportPoint>
,Function<wavefront.report.ReportPoint,wavefront.report.ReportPoint>
public class ReportPointReplaceRegexTransformer extends Object implements com.google.common.base.Function<wavefront.report.ReportPoint,wavefront.report.ReportPoint>
Replace regex transformer. Performs search and replace on a specified component of a point (metric name, source name or a point tag value, depending on "scope" parameter. Created by Vasily on 9/13/16.
-
-
Constructor Summary
Constructors Constructor Description ReportPointReplaceRegexTransformer(String scope, String patternSearch, String patternReplace, String patternMatch, Integer maxIterations, Predicate<wavefront.report.ReportPoint> v2Predicate, PreprocessorRuleMetrics ruleMetrics)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description wavefront.report.ReportPoint
apply(wavefront.report.ReportPoint reportPoint)
-
-
-
Constructor Detail
-
ReportPointReplaceRegexTransformer
public ReportPointReplaceRegexTransformer(String scope, String patternSearch, String patternReplace, @Nullable String patternMatch, @Nullable Integer maxIterations, @Nullable Predicate<wavefront.report.ReportPoint> v2Predicate, PreprocessorRuleMetrics ruleMetrics)
-
-