span

One timed operation within a trace, such as handling a request or running a query, with its start, duration and attributes.

In more detail

Every span carries the trace ID and its own span ID; a child span also records its parent's span ID, which is how the tree is rebuilt. The first span of a request is the root span.

Examples

Next.js emits spans for routing, rendering and fetch automatically.
GET /checkout    span=ea7b5bf55eb561a4 parent=none
SELECT basket    span=795b929e9a9a80fd parent=ea7b5bf55eb561a4

Related terms

Taught in

References

Certification courses