Skip to content

Commit

Permalink
refactor(haproxy): adjust alert if 5xx errors rate is > 1%
Browse files Browse the repository at this point in the history
  • Loading branch information
bdossantos committed Jan 28, 2022
1 parent dabeaff commit 407b41e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rules/haproxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ groups:

- alert: HaproxyHighHttp5xxErrorRateServer
expr: (sum by (proxy) (rate(haproxy_backend_http_responses_total{code=~"5xx",proxy!="maintenancez"}[1m])) / sum by (proxy) (rate(haproxy_backend_http_responses_total{proxy!="maintenancez"}[1m]))) * 100 > 1
for: 1m
for: 5m
labels:
severity: page
annotations:
Expand Down

0 comments on commit 407b41e

Please sign in to comment.