IT lexicon › Infra & Ops › Span

Span

Infra & Ops På svenska → Updated: 2026-11-14

The smallest unit in distributed tracing — represents a single operation (database call, network request, computation) with start, end, and metadata.

A span has a name ("SELECT users WHERE id=?"), start and end times, attributes (database host, user ID), events (warnings), and a status (ok/error). Spans from the same request link together in a tree via parent-child relationships. A single request might generate hundreds of spans: two in the API server, ten in the message queue, five in a cache miss, eighty from the database — together they tell the complete story.

Spans are implementation-agnostic — a Java service, a Node.js worker, and a Go backend can all produce spans that get woven into the same trace. The OpenTelemetry standard makes this possible.

← Back to the lexicon