Use existing labels for HAProxy pending requests

This commit is contained in:
Sofrony Pavel 2021-06-28 20:51:27 +03:00
parent fdeedfd557
commit fa77d6743c
No known key found for this signature in database
GPG key ID: 680D71F08DDA644F

View file

@ -1285,7 +1285,7 @@ groups:
severity: warning
for: 2m
- name: HAProxy pending requests
description: Some HAProxy requests are pending on {{ $labels.fqdn }}/{{ $labels.backend }} backend
description: Some HAProxy requests are pending on {{ $labels.proxy }} - {{ $value | printf "%.2f"}}
query: sum by (proxy) (rate(haproxy_backend_current_queue[2m])) > 0
severity: warning
for: 2m