RabbitMQ: add too many ready messages alert

This commit is contained in:
Martin Anderson 2024-11-29 20:09:38 +02:00 committed by GitHub
parent 14949721ba
commit be85b2db14
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -49,6 +49,15 @@ groups:
summary: RabbitMQ file descriptors usage (instance {{ $labels.instance }})
description: "A node use more than 90% of file descriptors\n VALUE = {{ $value }}\n LABELS = {{ $labels }}"
- alert: RabbitmqTooManyReadyMessages
expr: 'sum(rabbitmq_queue_messages_ready) BY (queue) > 1000'
for: 1m
labels:
severity: warning
annotations:
summary: RabbitMQ too many ready messages (instance {{ $labels.instance }})
description: "Too many ready messages\n VALUE = {{ $value }}\n LABELS = {{ $labels }}"
- alert: RabbitmqTooManyUnackMessages
expr: 'sum(rabbitmq_queue_messages_unacked) BY (queue) > 1000'
for: 1m