Package com.wavefront.agent.preprocessor
Class SpanRenameAnnotationTransformer
- java.lang.Object
-
- com.wavefront.agent.preprocessor.SpanRenameAnnotationTransformer
-
- All Implemented Interfaces:
com.google.common.base.Function<wavefront.report.Span,wavefront.report.Span>
,Function<wavefront.report.Span,wavefront.report.Span>
public class SpanRenameAnnotationTransformer extends Object implements com.google.common.base.Function<wavefront.report.Span,wavefront.report.Span>
Rename a given span tag's/annotation's (optional: if its value matches a regex pattern) If the tag matches multiple span annotation keys , all keys will be renamed.- Author:
- [email protected]
-
-
Constructor Summary
Constructors Constructor Description SpanRenameAnnotationTransformer(String key, String newKey, String patternMatch, boolean firstMatchOnly, Predicate<wavefront.report.Span> v2Predicate, PreprocessorRuleMetrics ruleMetrics)
-