Update rules.yml (#252)

This commit is contained in:
chaoxiaodi 2021-10-27 20:00:35 +08:00 committed by GitHub
parent 7857afab6e
commit 7a40d7f423
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1334,7 +1334,7 @@ groups:
query: 'sum by (backend) (rate(haproxy_server_http_responses_total{code="4xx"}[1m])) / sum by (backend) (rate(haproxy_server_http_responses_total[1m]) * 100) > 5'
severity: critical
for: 1m
- name: HAProxy high HTTP 4xx error rate backend
- name: HAProxy high HTTP 5xx error rate backend
description: Too many HTTP requests with status 5xx (> 5%) on backend {{ $labels.fqdn }}/{{ $labels.backend }}
query: 'sum by (backend) (rate(haproxy_server_http_responses_total{code="5xx"}[1m])) / sum by (backend) (rate(haproxy_server_http_responses_total[1m]) * 100) > 5'
severity: critical