Class SpanAddAnnotationTransformer

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

    public class SpanAddAnnotationTransformer
    extends Object
    implements com.google.common.base.Function<wavefront.report.Span,​wavefront.report.Span>
    Creates a new annotation with a specified key/value pair.
    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>