Skip to content

Commit c6fc057

Browse files
committed
Raise alert when there are many RabbitMQ messages ready
This can help detect queues which are not being consumed.
1 parent 26775c5 commit c6fc057

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

etc/kayobe/kolla/config/prometheus/rabbitmq.rules

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,13 @@ groups:
4141
severity: warning
4242
annotations:
4343
description: RabbitMQ file descriptors usage on {{ $labels.instance }}
44+
- alert: RabbitMQTooMuchReady
45+
expr: rabbitmq_queue_messages_ready > 100
46+
for: 1m
47+
labels:
48+
severity: warning
49+
annotations:
50+
description: RabbitMQ too much ready on {{ $labels.instance }}
4451
- alert: RabbitMQTooMuchUnack
4552
expr: rabbitmq_queue_messages_unacked > 100
4653
for: 1m
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
features:
3+
- |
4+
Raises an alert when the count of RabbitMQ ready messages increases above a
5+
threshold.

0 commit comments

Comments
 (0)