mirror of
https://github.com/samber/awesome-prometheus-alerts.git
synced 2026-06-21 08:57:19 +08:00
haproxy: fix description of request errors
This commit is contained in:
parent
be20363602
commit
9f144acb30
1 changed files with 11 additions and 11 deletions
|
|
@ -915,31 +915,31 @@ groups:
|
|||
severity: critical
|
||||
- name: HAProxy high HTTP 4xx error rate backend
|
||||
description: Too many HTTP requests with status 4xx (> 5%) on backend {{ $labels.fqdn }}/{{ $labels.backend }}
|
||||
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'
|
||||
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
|
||||
- name: HAProxy high HTTP 4xx 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'
|
||||
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
|
||||
- name: HAProxy high HTTP 4xx error rate server
|
||||
description: Too many HTTP requests with status 4xx (> 5%) on server {{ $labels.server }}
|
||||
query: 'sum by (server) rate(haproxy_server_http_responses_total{code="4xx"}[1m]) / sum by (backend) rate(haproxy_server_http_responses_total{}[1m]) * 100 > 5'
|
||||
query: 'sum by (server) rate(haproxy_server_http_responses_total{code="4xx"}[1m]) / sum by (backend) rate(haproxy_server_http_responses_total[1m]) * 100 > 5'
|
||||
severity: critical
|
||||
- name: HAProxy high HTTP 5xx error rate server
|
||||
description: Too many HTTP requests with status 5xx (> 5%) on server {{ $labels.server }}
|
||||
query: 'sum by (server) rate(haproxy_server_http_responses_total{code="5xx"}[1m]) / sum by (backend) rate(haproxy_server_http_responses_total{}[1m]) * 100 > 5'
|
||||
severity: critical
|
||||
- name: HAProxy backend connection errors
|
||||
description: Too many connection errors to {{ $labels.fqdn }}/{{ $labels.backend }} backend (> 5%). Request throughput may be to high.
|
||||
query: 'sum by (backend) rate(haproxy_backend_connection_errors_total[1m]) * 100 > 5'
|
||||
query: 'sum by (server) rate(haproxy_server_http_responses_total{code="5xx"}[1m]) / sum by (backend) rate(haproxy_server_http_responses_total[1m]) * 100 > 5'
|
||||
severity: critical
|
||||
- name: HAProxy server response errors
|
||||
description: Too many response errors to {{ $labels.server }} server (> 5%).
|
||||
query: 'sum by (server) rate(haproxy_server_response_errors_total[1m]) * 100 > 5'
|
||||
query: 'sum by (server) rate(haproxy_server_response_errors_total[1m]) / sum by (server) rate(haproxy_server_http_responses_total[1m]) * 100 > 5'
|
||||
severity: critical
|
||||
- name: HAProxy backend connection errors
|
||||
description: Too many connection errors to {{ $labels.fqdn }}/{{ $labels.backend }} backend (> 100 req/s). Request throughput may be to high.
|
||||
query: 'sum by (backend) rate(haproxy_backend_connection_errors_total[1m]) > 100'
|
||||
severity: critical
|
||||
- name: HAProxy server connection errors
|
||||
description: Too many connection errors to {{ $labels.server }} server (> 5%). Request throughput may be to high.
|
||||
query: 'sum by (server) rate(haproxy_server_connection_errors_total[1m]) * 100 > 5'
|
||||
description: Too many connection errors to {{ $labels.server }} server (> 100 req/s). Request throughput may be to high.
|
||||
query: 'sum by (server) rate(haproxy_server_connection_errors_total[1m]) > 100'
|
||||
severity: critical
|
||||
- name: HAProxy backend max active session
|
||||
description: HAproxy backend {{ $labels.fqdn }}/{{ $labels.backend }} is reaching session limit (> 80%).
|
||||
|
|
|
|||
Loading…
Reference in a new issue