Interface NewSpanParser


  • public interface NewSpanParser
    Parses data for a span created via a NewSpan annotation.
    Since:
    2.0.0
    Author:
    Adrian Cole
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void parse​(org.aopalliance.intercept.MethodInvocation methodInvocation, NewSpan newSpan, Span span)
      Override to control the name and tags on an annotation-based span.
    • Method Detail

      • parse

        void parse​(org.aopalliance.intercept.MethodInvocation methodInvocation,
                   NewSpan newSpan,
                   Span span)
        Override to control the name and tags on an annotation-based span.
        Parameters:
        methodInvocation - method invocation annotated with new span
        newSpan - meta data of the new span
        span - span to customize