Skip to content

Commit f673aeb

Browse files
committed
Use correct case of RabbitMQ
1 parent cfd80e1 commit f673aeb

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

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

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -5,69 +5,69 @@
55
groups:
66
- name: rabbitmq.rules
77
rules:
8-
- alert: RabbitmqNodeDown
8+
- alert: RabbitMQNodeDown
99
expr: sum(rabbitmq_build_info{host_name!=""}) < 3
1010
for: 30m
1111
labels:
1212
severity: critical
1313
annotations:
14-
description: Rabbitmq node down on {{ $labels.host_name }}
15-
- alert: RabbitmqConsumersLowUtilization
14+
description: RabbitMQ node down on {{ $labels.host_name }}
15+
- alert: RabbitMQConsumersLowUtilization
1616
expr: rabbitmq_queue_consumer_utilisation < 0.4
1717
for: 5m
1818
labels:
1919
severity: warning
2020
annotations:
2121
description: RabbitMQ consumers message consumption speed is low on {{ $labels.host_name }}
22-
- alert: RabbitmqNodeNotDistributed
22+
- alert: RabbitMQNodeNotDistributed
2323
expr: erlang_vm_dist_node_state < 3
2424
for: 5m
2525
labels:
2626
severity: critical
2727
annotations:
28-
description: Rabbitmq node not distributed on node {{ $labels.host_name }}
29-
- alert: RabbitmqMemoryHigh
28+
description: RabbitMQ node not distributed on node {{ $labels.host_name }}
29+
- alert: RabbitMQMemoryHigh
3030
expr: rabbitmq_process_resident_memory_bytes / rabbitmq_resident_memory_limit_bytes
3131
* 100 > 90
3232
for: 2m
3333
labels:
3434
severity: warning
3535
annotations:
36-
description: Rabbitmq memory too high on {{ $labels.host_name }}
37-
- alert: RabbitmqFileDescriptorsUsage
36+
description: RabbitMQ memory too high on {{ $labels.host_name }}
37+
- alert: RabbitMQFileDescriptorsUsage
3838
expr: rabbitmq_process_open_fds / rabbitmq_process_max_fds * 100 > 90
3939
for: 2m
4040
labels:
4141
severity: warning
4242
annotations:
43-
description: Rabbitmq file descriptors usage on {{ $labels.host_name }}
44-
- alert: RabbitmqTooMuchUnack
43+
description: RabbitMQ file descriptors usage on {{ $labels.host_name }}
44+
- alert: RabbitMQTooMuchUnack
4545
expr: sum(rabbitmq_queue_messages_unacked) BY (queue) > 1000
4646
for: 1m
4747
labels:
4848
severity: warning
4949
annotations:
50-
description: Rabbitmq too much unack on {{ $labels.host_name }}
51-
- alert: RabbitmqTooMuchConnections
50+
description: RabbitMQ too much unack on {{ $labels.host_name }}
51+
- alert: RabbitMQTooMuchConnections
5252
expr: rabbitmq_connections > 1000
5353
for: 2m
5454
labels:
5555
severity: warning
5656
annotations:
57-
description: Rabbitmq too much connections on {{ $labels.host_name }}
58-
- alert: RabbitmqNoQueueConsumer
57+
description: RabbitMQ too much connections on {{ $labels.host_name }}
58+
- alert: RabbitMQNoQueueConsumer
5959
expr: rabbitmq_queue_consumers < 1
6060
for: 1m
6161
labels:
6262
severity: warning
6363
annotations:
64-
description: Rabbitmq no queue consumer on {{ $labels.host_name }}
65-
- alert: RabbitmqUnroutableMessages
64+
description: RabbitMQ no queue consumer on {{ $labels.host_name }}
65+
- alert: RabbitMQUnroutableMessages
6666
expr: increase(rabbitmq_channel_messages_unroutable_returned_total[1m]) > 0 or increase(rabbitmq_channel_messages_unroutable_dropped_total[1m]) > 0
6767
for: 2m
6868
labels:
6969
severity: warning
7070
annotations:
71-
description: Rabbitmq unroutable messages on {{ $labels.host_name }}
71+
description: RabbitMQ unroutable messages on {{ $labels.host_name }}
7272

7373
{% endraw %}

0 commit comments

Comments
 (0)