Trace / Span Details

Span Execution Time vs Span Duration

Span Duration is the difference between the span end time and the span start time.

Span Execution Time is the time that the span spends not waiting on any child spans that it has started. The image below is a simplistic illustration on how the span execution time would be calculated for a span whose duration is 100ms but spends 60ms waiting on child spans to complete. Note that there is special handling for parallel child-spans. In these cases, the execution time gets distributed equally amongst all parallel child-spans.

 

image-20240515-222802.png

 

Related pages