Monitoring our monitoring: how we validate our Prometheus alert rules
May 19, 2022Lukasz Mierzwa

Summary
This post details Cloudflare's use of Prometheus as its core monitoring system and introduces a new open-source tool developed to validate Prometheus alert rules. It explains the potential pitfalls of alert rule creation, such as typos or incorrect query logic, leading to silent failures where alerts don't fire when they should. The post elaborates on Prometheus querying basics (instant vs. range queries) and how these can lead to unexpected empty results, impacting alert reliability. The contribution lies in addressing the critical aspect of ensuring the accuracy and trustworthiness of the monitoring system itself, thereby improving the overall observability platform.
More from the Data Infrastructure & Analytics trail
- Introducing Cloudflare Basin: an open, serverless data platform, now generally available
- Introducing the Billable Usage API: programmatic cost visibility for Cloudflare
- Announcing the Monetization Gateway: charge for any resource behind Cloudflare via x402
- How we built Cloudflare's data platform and an AI agent on top of it
- Iran's Internet is partially restored, Cloudflare Radar data shows