Class SpanSanitizeTransformer

  • All Implemented Interfaces:
    com.google.common.base.Function<wavefront.report.Span,​wavefront.report.Span>, Function<wavefront.report.Span,​wavefront.report.Span>

    public class SpanSanitizeTransformer
    extends Object
    implements com.google.common.base.Function<wavefront.report.Span,​wavefront.report.Span>
    Sanitize spans (e.g., span source and tag keys) according to the same rules that are applied at the SDK-level.
    Author:
    Han Zhang ([email protected])
    • Method Detail

      • apply

        public @Nullable 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>