mirror of
https://github.com/samber/awesome-prometheus-alerts.git
synced 2026-06-21 08:57:19 +08:00
Publish
This commit is contained in:
parent
f484d30d66
commit
91c9877bc6
1 changed files with 1 additions and 1 deletions
2
dist/rules/haproxy/haproxy-exporter-v1.yml
vendored
2
dist/rules/haproxy/haproxy-exporter-v1.yml
vendored
|
|
@ -41,7 +41,7 @@ groups:
|
|||
description: "Too many HTTP requests with status 4xx (> 5%) on server {{ $labels.server }}\n VALUE = {{ $value }}\n LABELS = {{ $labels }}"
|
||||
|
||||
- alert: HaproxyHighHttp5xxErrorRateServer
|
||||
expr: 'sum by (server) (rate(haproxy_server_http_responses_total{code="5xx"}[1m])) / sum by (server) (rate(haproxy_server_http_responses_total[1m]) * 100) > 5'
|
||||
expr: 'sum by (server) (rate(haproxy_server_http_responses_total{code="5xx"}[1m]) * 100) / sum by (server) (rate(haproxy_server_http_responses_total[1m])) > 5'
|
||||
for: 1m
|
||||
labels:
|
||||
severity: critical
|
||||
|
|
|
|||
Loading…
Reference in a new issue