Design: Alerting Thresholds System
Design covers threshold configuration, alert detection, notification delivery, and dashboard. Does not cover metric collection or storage in detail.
Functional Requirements
Non-Functional Requirements
+---------------------+
| User Dashboard/API |
+----------+----------+
|
v
+--------------+---------------+
| Threshold Configuration |
| Service |
+--------------+---------------+
|
v
+----------------+ +-------+--------+ +----------------+
| Metrics Source | --> | Metrics Ingest | --> | Alert Engine |
+----------------+ +----------------+ +-------+--------+
|
v
+--------+---------+
| Notification |
| Service |
+------------------+CPU usage > 80% for 5 minutes triggers WARNING. If CPU usage spikes to 85% for 3 minutes, then drops to 75%, what happens?Memory usage >= 90% for 10 minutes triggers CRITICAL. The alert never fires even when memory usage is 95% for 15 minutes. What is the most likely issue?Pass the test and this pattern moves unknown