Observability
Monitoring answers questions you thought of in advance. Observability is whether you can answer the question you did not think of, at two in the morning, from the data you already collect. That difference is the whole section. It is also the fastest way an interviewer can tell whether you have run a system or only built one.
Chapters
| # | Chapter | What it answers |
|---|---|---|
| 01 | Monitoring and Observability Fundamentals | What do you measure, and what does an SLO commit you to? |
| 02 | Metrics, Dashboards and Alerting | How do you query metrics, and what makes an alert worth waking a human for? |
What Interviewers Probe For
Three observability questions, on top of the part-level signals in the Part VIII opener:
- Why percentiles, not averages? An average of 200 ms can hide a p99 of nine seconds. You cannot average percentiles across instances. You add up the histogram buckets first, then take the quantile.
- What is cardinality? The number of time series is the product of every label's distinct values. A user ID in a label is how a metrics backend runs out of memory.
- Would you alert on high CPU? No. Page on symptoms the user can see, and keep resource metrics on the dashboard for diagnosis.
Reading Order
01 first, always. Chapter 02 uses its words, especially cardinality and the error budget.