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