HaproxyBackendMaxActiveSession>80%

HaproxyBackendMaxActiveSession>80% #

Session limit from backend {{ $labels.proxy }} to server {{ $labels.server }} reached 80% of limit - {{ $value | printf “%.2f”}}%

Alert Rule
alert: HaproxyBackendMaxActiveSession>80%
annotations:
  description: |-
    Session limit from backend {{ $labels.proxy }} to server {{ $labels.server }} reached 80% of limit - {{ $value | printf "%.2f"}}%
      VALUE = {{ $value }}
      LABELS = {{ $labels }}    
  runbook: https://srerun.github.io/prometheus-alerts/runbooks/embedded-exporter-v2/haproxybackendmaxactivesession>80%/
  summary: HAProxy backend max active session > 80% (instance {{ $labels.instance
    }})
expr: ((haproxy_server_max_sessions >0) * 100) / (haproxy_server_limit_sessions >
  0) > 80
for: 2m
labels:
  severity: warning

Meaning #

Impact #

Diagnosis #

Mitigation #