IT lexicon › Infra & Ops › Correlation ID

Correlation ID

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

A unique identifier that follows a single user request through all microservices, letting you link every related log, metric, and trace back to the same origin.

When a user clicks a button, the request hops between ten services. The system generates a random UUID and puts it in an HTTP header (often X-Correlation-ID or X-Request-ID). Each service logs this ID alongside its work. Later, you query "show all logs for correlation ID abc-123-def" and see the entire path from front-end to database.

Without correlation IDs, you'd reconstruct the flow from timestamps and inference — brittle when requests overlap. It's the foundation of practical distributed tracing.

← Back to the lexicon