Engineering for Reliability
Best Practices for Cloud Monitoring
Twenty-three substantive episodes on SLOs, telemetry, alerting, investigation, and operations
Twenty-three 2021–2022 episodes connect user-facing reliability targets to metrics, logs, traces, and alerts. Examples show instrumentation, Prometheus collection, quota monitoring, GKE investigation, and observability cost controls.
In this collection Browse 23 summaries 7 of 23
Monitoring should answer whether users are having problems, provide enough information to respond, and keep collection costs manageable. This episode separates user-visible reliability targets from the measurements needed to diagnose failures, then explains which alerts deserve to interrupt a person 00:00–05:16(opens in a new tab).
Key Points Covered
- Measure symptoms and investigate causes: Service-level objectives (SLOs) set targets for user experience. The four “golden signals” help explain problems: traffic measures demand, errors measure unsuccessful work, latency measures response time, and saturation measures how much capacity is in use. Putting them together on a dashboard can reveal, for example, rising latency alongside increasing traffic 01:04–04:13(opens in a new tab).
- Page only for urgent human judgment: Alerts should be actionable and important enough to interrupt; nonurgent work belongs in a less disruptive channel 04:13–05:16(opens in a new tab).
- Label combinations multiply metric volume: Cardinality is the number of distinct values a label can take. The example's 11 cost-center values and five environment values create 55 combinations, each potentially producing a separate time series. The presenter recommends avoiding unnecessarily high-cardinality labels and reducing agent or custom metrics that are not needed 06:20–08:33(opens in a new tab).
- Find the source of cost before reducing collection: In the 2021 walkthrough, billing reports show monitoring charges and ingestion metrics show which projects and custom metrics produce data. These answer different questions: what monitoring costs and where the volume comes from 05:16–06:20(opens in a new tab).
Full video: https://www.youtube.com/watch?v=pcMEFTxcco8(opens in a new tab)