System Design · Middle · Question 37 of 75

Why pass a request id / trace id from the frontend through to the backend?

Explanation

Distributed tracing (OpenTelemetry, the traceparent header) shows a request's path through the API gateway, services and DB. A user sends a screenshot with the error id - and you immediately find the full context.

Further reading

Problem with a question

System Design · Middle · question 37

Test yourself

Take the System Design · Middle quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz