Package 

Interface OnSpanStartCallback


  • 
    public interface OnSpanStartCallback
    
                        

    Called whenever a Span is started. This callback can be used to setup the span before it is used (such as setting attributes). These callbacks are considered to be "inside" the span, so any time taken to run the callback is counted towards the span's duration.

    • Method Summary

      Modifier and Type Method Description
      abstract Unit onSpanStart(Span span) Called when a span is started.
      • Methods inherited from class java.lang.Object

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

      • onSpanStart

         abstract Unit onSpanStart(Span span)

        Called when a span is started. Called after the primary attributes are added, but before the span is returned.