Skip to content

Commit

Permalink
Merge pull request #712 from stackhpc/rabbitmq-connection-alert
Browse files Browse the repository at this point in the history
Adapt RabbitMQ connection alert threshold
  • Loading branch information
priteau authored Oct 18, 2023
2 parents a9dd80b + ce76182 commit cea3108
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion etc/kayobe/kolla/config/prometheus/rabbitmq.rules
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ groups:
annotations:
description: RabbitMQ too much unack on {{ $labels.instance }}
- alert: RabbitMQTooMuchConnections
expr: rabbitmq_connections > 1000
expr: rabbitmq_connections > {% endraw %}{{ (1500 * groups['controllers'] | length + 50 * groups['compute'] | length) }}{% raw %}
for: 2m
labels:
severity: warning
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
features:
- |
Adapt threshold of RabbitMQ connection alert based on the size of the
deployment to avoid spurious alerts.

0 comments on commit cea3108

Please sign in to comment.