Design and implement a robust metrics monitoring and alerting system that can collect, analyze, and visualize performance data from multiple sources, and trigger alerts based on predefined thresholds or anomalies.
Suggested time: 45 minutes
Loading the workspace...
A metrics monitoring system looks like a simple pipeline. Collect data, store it, show dashboards. But with 10K servers each emitting 100 metrics every 10 seconds, the system ingests 100K data points per second. The real challenge is not collection or storage. It is evaluating thousands of alert rules against this firehose in near-real-time without drowning on-call engineers in false positives.
Design a Metrics Monitoring and Alerting System: editorial solution
Community solutions for Design a Metrics Monitoring and Alerting System
The building blocks this design relies on, each explained in its own lesson.
Design a Web Analytics Tool (medium)
Design a Web Cache (medium)
Design a Web Crawler (hard)
Design a Key Value Store (hard)
Company guides that list this problem among their sample questions.