What are the three pillars of observability (metrics, logs, traces)? [Basic]
Answer
The three classic pillars are metrics, logs, and traces. Metrics show numeric trends over time, logs provide event-level detail, and traces show the path and timing of a request across services.
Technical explanation
Metrics are low-cardinality time series, good for alerting, capacity planning, SLOs, and trend analysis.
Logs are discrete records, good for explaining a specific event, error, state transition, or audit trail.
Traces connect spans from multiple services so we can see where time was spent and which dependency caused delay or failure.
Hands-on example
Example: a payment timeout appears as an elevated p95 latency metric, the trace shows checkout spent 1.8 seconds in payment-authorize, and the payment logs for the trace_id show an upstream gateway timeout. The three signals together give both scope and root-cause evidence.
Check how well your resume matches the role with our free resume checker— match score, ATS check, and the skills you're missing.
More Observability interview questions
- What are the four golden signals of monitoring? [Basic]
- What is a burn rate, and how do you alert on it? [Basic]
- Why are multi-window, multi-burn-rate alerts better than a single threshold? [Basic]
- What is the difference between a symptom-based and a cause-based alert, and which is better? [Basic]
- What is a time series in Prometheus, and how is it identified (metric name plus labels)? [Basic]
- What are the Prometheus metric types (counter, gauge, histogram, summary)? [Basic]
- What is the difference between a counter and a gauge? [Basic]
- How does Prometheus collect metrics — what is the pull model and scraping? [Basic]