Skip to content

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 ​

#ChapterWhat it answers
01Monitoring and Observability FundamentalsWhat do you measure, and what does an SLO commit you to?
02Metrics, Dashboards and AlertingHow 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.

The whole book, free to read. Generated from the manuscript on every change.

Your progress

Tick each chapter in the sidebar once you have read and understood it. Your name and email keep the ticks on any device.

Your name and email are stored to save your progress. Nothing else is done with them.