correlation ID

A unique value attached to one request and passed along everywhere it goes, so its logs and traces can be found together.

In more detail

Return it to the caller so they can quote it when reporting a problem, propagate it through gateways and queues, and record it in every log line and span for that request. Many systems carry it in a header such as X-Request-ID or inside the trace context.

Examples

In AWS: A unique identifier attached to one request and passed through every service it touches, so all its logs and traces can be joined up.
When a proxy, a load balancer and an application all log the same identifier, you can follow one failing request end to end. Include it in incident notes.

Related terms

Taught in

References