System Design · Senior · Question 28 of 75

How do metrics, logs and traces complement each other?

Explanation

Metrics (error rate, p95 latency) are cheap and suitable for alerts. A distributed trace shows a request's path through services. Logs give details of a specific event. OpenTelemetry standardizes collecting all three signals.

Further reading

Problem with a question

System Design · Senior · question 28

Test yourself

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

Take this quiz