Add an alert for high rate of server errors
This commit is contained in:
parent
3435b2ca01
commit
9c1389a8f8
|
@ -0,0 +1,11 @@
|
|||
# vim: tw=2 sw=2 :
|
||||
groups:
|
||||
- name: service
|
||||
rules:
|
||||
- alert: High rate of 500 errors
|
||||
expr: rate(http_requests_total{status="500"}[10m]) > 5 / 60
|
||||
for: 5m
|
||||
labels:
|
||||
severity: urgent
|
||||
annotations:
|
||||
summary: "{{ $labels.instance }} has a high rate of 500 errors"
|
Loading…
Reference in New Issue