Package 

Interface OnSpanEndCallback


  • 
    public interface OnSpanEndCallback
    
                        

    Called whenever a Span is ending, but before it has been enqueued for delivery. These callbacks can modify the attributes of a span or cause it to be discarded between the time Span.end is called and when the span is enqueued for delivery.

    • Method Summary

      Modifier and Type Method Description
      abstract Boolean onSpanEnd(Span span) Called when a span is ending.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • onSpanEnd

         abstract Boolean onSpanEnd(Span span)

        Called when a span is ending. This callback can modify the attributes of a span or cause it to be discarded (by returning false).

        Parameters:
        span - the span that is ending