black-box monitoring
termKept in this browser · My desk
Monitoring a system from outside by its symptoms, what users would see, as opposed to white-box monitoring, which reads the system's internal state.
Google's SRE book separates the two: black-box monitoring is symptom-oriented and shows that the system is not working right now, while white-box monitoring inspects internals and can detect imminent problems and failures masked by retries. Redundancy masks failures by design, so a dead standby is invisible to black-box checks until it is needed; replication lag, synchronization state and backup results are white-box signals. The monitoring must not depend on what it watches: Roblox's telemetry failed with the Consul cluster it was observing.
In practice. The SRE book recommends heavy use of white-box monitoring with modest but critical black-box probes, and dashboards built on the four golden signals. For redundancy, white-box signals include a backup router's state, BFD sessions on the backup path, cluster synchronization, replication lag and quorum health, while a black-box probe through the standby path proves the path end to end. Failures of monitoring. Roblox wrote after its 2021 outage that its telemetry no longer depends on the systems it monitors; GitLab's backup failures went unseen because their alerts were emails that the receiving server rejected; Atlassian's monitoring did not see its site deletions because they ran through a standard workflow; Cloudflare's tools could not see that a data centre had switched to generator power.
Also known as: white-box monitoring, black box monitoring, monitoração de caixa-preta
Sources
- Google, Site Reliability Engineering, chapter 6, Monitoring Distributed Systems (read 2026-11-16): black-box monitoring is symptom-oriented and shows problems happening now; white-box monitoring inspects internals and detects imminent problems and failures masked by retries
- Roblox, Roblox Return to Service 10/28-10/31 2021, 20 January 2022 (read 2026-11-16): monitoring that depended on the failed system hampered triage; telemetry no longer depends on the systems it monitors
- Atlassian, Post-Incident Review on the Atlassian April 2022 outage, 29 April 2022 (read 2026-11-16): internal monitoring did not detect the deletions because they ran through a standard workflow