Package com.wavefront.agent.preprocessor
Class SpanExtractAnnotationIfNotExistsTransformer
- java.lang.Object
-
- com.wavefront.agent.preprocessor.SpanExtractAnnotationTransformer
-
- com.wavefront.agent.preprocessor.SpanExtractAnnotationIfNotExistsTransformer
-
- All Implemented Interfaces:
com.google.common.base.Function<wavefront.report.Span,wavefront.report.Span>,Function<wavefront.report.Span,wavefront.report.Span>
public class SpanExtractAnnotationIfNotExistsTransformer extends SpanExtractAnnotationTransformer
Create a new span annotation by extracting a portion of a span name, source name or another annotation- Author:
- [email protected]
-
-
Field Summary
-
Fields inherited from class com.wavefront.agent.preprocessor.SpanExtractAnnotationTransformer
compiledMatchPattern, compiledSearchPattern, firstMatchOnly, input, key, patternReplace, patternReplaceInput, ruleMetrics
-
-
Constructor Summary
Constructors Constructor Description SpanExtractAnnotationIfNotExistsTransformer(String key, String input, String patternSearch, String patternReplace, String replaceInput, String patternMatch, boolean firstMatchOnly, PreprocessorRuleMetrics ruleMetrics)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description wavefront.report.Spanapply(wavefront.report.Span span)-
Methods inherited from class com.wavefront.agent.preprocessor.SpanExtractAnnotationTransformer
extractAnnotation, internalApply
-
-
-
-
Method Detail
-
apply
public wavefront.report.Span apply(@Nonnull wavefront.report.Span span)
- Specified by:
applyin interfacecom.google.common.base.Function<wavefront.report.Span,wavefront.report.Span>- Specified by:
applyin interfaceFunction<wavefront.report.Span,wavefront.report.Span>- Overrides:
applyin classSpanExtractAnnotationTransformer
-
-