Class 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]
    • Method Detail

      • apply

        @Nullable
        public wavefront.report.Span apply​(@Nullable
                                           wavefront.report.Span span)
        Specified by:
        apply in interface com.google.common.base.Function<wavefront.report.Span,​wavefront.report.Span>
        Specified by:
        apply in interface Function<wavefront.report.Span,​wavefront.report.Span>