Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove alert HAproxyHttpSlowingDown #52

Merged
merged 1 commit into from
Dec 10, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 9 additions & 10 deletions prometheus/haproxy.rules
Original file line number Diff line number Diff line change
Expand Up @@ -87,17 +87,16 @@ groups:
summary: HAProxy pending requests (instance {{ $labels.instance }})
description: "Some HAProxy requests are pending on {{ $labels.proxy }} - {{ $value | printf \"%.2f\"}}\n VALUE = {{ $value }}\n LABELS = {{ $labels }}"

# NOTE: The following alert has been changed from upstream because of
# NOTE: The following alert is not being used because of
# https://github.com/samber/awesome-prometheus-alerts/issues/421
- alert: HaproxyHttpSlowingDown
# expr: 'avg by (instance, proxy) (haproxy_backend_max_total_time_seconds) > 1'
expr: 'haproxy_backend_total_time_average_seconds > 1'
for: 1m
labels:
severity: warning
annotations:
summary: HAProxy HTTP slowing down (instance {{ $labels.instance }})
description: "Average request time is increasing - {{ $value | printf \"%.2f\"}}\n VALUE = {{ $value }}\n LABELS = {{ $labels }}"
# - alert: HaproxyHttpSlowingDown
# expr: 'avg by (instance, proxy) (haproxy_backend_max_total_time_seconds) > 1'
# for: 1m
# labels:
# severity: warning
# annotations:
# summary: HAProxy HTTP slowing down (instance {{ $labels.instance }})
# description: "Average request time is increasing - {{ $value | printf \"%.2f\"}}\n VALUE = {{ $value }}\n LABELS = {{ $labels }}"

- alert: HaproxyRetryHigh
expr: 'sum by (proxy) (rate(haproxy_backend_retry_warnings_total[1m])) > 10'
Expand Down
Loading