mirror of
https://github.com/samber/awesome-prometheus-alerts.git
synced 2026-06-21 17:07:24 +08:00
Publish
This commit is contained in:
parent
7832e01082
commit
606d6fc592
1 changed files with 2 additions and 2 deletions
4
dist/rules/haproxy/embedded-exporter-v2.yml
vendored
4
dist/rules/haproxy/embedded-exporter-v2.yml
vendored
|
|
@ -68,13 +68,13 @@ groups:
|
|||
description: "Too many connection errors to {{ $labels.server }} server (> 100 req/s). Request throughput may be too high.\n VALUE = {{ $value }}\n LABELS = {{ $labels }}"
|
||||
|
||||
- alert: HaproxyBackendMaxActiveSession>80%
|
||||
expr: '((haproxy_server_max_sessions >0) * 100) / (haproxy_server_limit_sessions > 0) > 80'
|
||||
expr: '((haproxy_backend_current_sessions >0) * 100) / (haproxy_backend_limit_sessions > 0) > 80'
|
||||
for: 2m
|
||||
labels:
|
||||
severity: warning
|
||||
annotations:
|
||||
summary: HAProxy backend max active session > 80% (instance {{ $labels.instance }})
|
||||
description: "Session limit from backend {{ $labels.proxy }} to server {{ $labels.server }} reached 80% of limit - {{ $value | printf \"%.2f\"}}%\n VALUE = {{ $value }}\n LABELS = {{ $labels }}"
|
||||
description: "Session limit from backend {{ $labels.proxy }} reached 80% of limit - {{ $value | printf \"%.2f\"}}%\n VALUE = {{ $value }}\n LABELS = {{ $labels }}"
|
||||
|
||||
- alert: HaproxyPendingRequests
|
||||
expr: 'sum by (proxy) (rate(haproxy_backend_current_queue[2m])) > 0'
|
||||
|
|
|
|||
Loading…
Reference in a new issue