HaproxyHighHttp5xxErrorRateServer

HaproxyHighHttp5xxErrorRateServer #

Too many HTTP requests with status 5xx (> 5%) on server {{ $labels.server }}

Alert Rule
alert: HaproxyHighHttp5xxErrorRateServer
annotations:
  description: |-
    Too many HTTP requests with status 5xx (> 5%) on server {{ $labels.server }}
      VALUE = {{ $value }}
      LABELS = {{ $labels }}    
  runbook: https://srerun.github.io/prometheus-alerts/runbooks/embedded-exporter-v2/haproxyhighhttp5xxerrorrateserver/
  summary: HAProxy high HTTP 5xx error rate server (instance {{ $labels.instance }})
expr: ((sum by (server) (rate(haproxy_server_http_responses_total{code="5xx"}[1m]))
  / sum by (server) (rate(haproxy_server_http_responses_total[1m]))) * 100) > 5
for: 1m
labels:
  severity: critical

Meaning #

Impact #

Diagnosis #

Mitigation #