Traditional alerts based on static error rate thresholds fail:
- alert: HighErrorRatePage
expr: |
(
sum(rate(http_requests_total{status=~"5.."}[1h]))
/
sum(rate(http_requests_total[1h]))
) > (14.4 * (1 - 0.999))
and
(
sum(rate(http_requests_total{status=~"5.."}[5m]))
/
sum(rate(http_requests_total[5m]))
) > (14.4 * (1 - 0.999))
for: 2m
labels:
severity: page
annotations:
summary: "14.4x burn rate detected on {{ $labels.service }} - 2% budget lost in 1h"
Alertmanager uses a gossip protocol (HashiCorp Memberlist) to achieve zero-coordination HA:
--cluster.peer flags to form a mesh.Real scenario-based DevOps questions, hands-on practice, and clear explanations for every answer.