-
public interface OnSpanStartCallbackCalled 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 UnitonSpanStart(Span span)Called when a span is started. -
-
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.
-
-
-
-