hard20 pts · first answer countsprometheusobservabilityon-call
Alert silent when the service dies
The alert below never fired when the payments service crashed completely and stopped being scraped. Why, and what is the fix?
- alert: PaymentsHighErrorRate
expr: |
sum(rate(http_requests_total{job="payments",code=~"5.."}[5m]))
/ sum(rate(http_requests_total{job="payments"}[5m])) > 0.05
for: 5mDiscussion 0
Join free to post in the discussion.
Related questions
- How Prometheus collects metricsDevOps Engineer
- Counter vs gaugeDevOps Engineer
- SLI, SLO and SLADevOps Engineer
- Deciding to promote a canaryDevOps Engineer
- Per-second request rate in PromQLDevOps Engineer
- Prometheus memory keeps growingDevOps Engineer
- Choosing what to page onDevOps Engineer
- Why run an OpenTelemetry CollectorDevOps Engineer