Commit 26775c5
committed
Fix RabbitMQTooMuchUnack alert description
Using `sum(rabbitmq_queue_messages_unacked)` means we loose all labels,
so `{{ $labels.instance }}` in the description was empty. Fix by
checking the number of messages on each host instead and lower the
threshold to 100.
Also, the metric rabbitmq_queue_messages_unacked has no `queue` label,
so `BY (queue)` is useless.1 parent 6ab1be7 commit 26775c5
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| |||
0 commit comments