A root span is the first span created when a request enters an application. It represents the overall execution at the start of a distributed trace. section 8.1.2 section 2.5
Checkout request
In a microservices e-commerce request, the checkout service forms the root span. Child spans represent calls to billing and the third-party payment provider, allowing a waterfall to show where time is spent. section 8.1.1
A root span anchors several tracing relationships:
- It belongs to the trace containing the request’s end-to-end processing. section 8.1.2
- It precedes nested child spans created by downstream work. section 2.5
- It helps connect timing visualizations with service execution and related logs. section 2.5
Use the temporal waterfall to inspect the root span alongside child spans and identify where request time accumulates. section 8.1.1
