IT lexicon › Infra & Ops › Trace ID

Trace ID

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

Unique identifier for a request flowing through a distributed system — connects all logs and spans from a single user action.

Without trace IDs, following a single request through a microservices architecture is nearly impossible. A trace ID is usually a random UUID or sequential number, created at the entry point and propagated via baggage propagation to all downstream services. Logging libraries and tracing frameworks automatically inject the trace ID into every log line so a grep on that ID pulls up all relevant logs across services.

Trace IDs are the foundation of distributed tracing. Without them, debugging across service boundaries becomes archaeology. Major outages have happened because trace IDs didn't propagate correctly over async boundaries, through load balancers, or across message queues—it should be nearly invisible, not something a team forgets to wire up.

← Back to the lexicon