0653c186ce
Enabled rabbitmq_prometheus plugin for prometheus to scrape the metrics of rabbitmq and alert if rabbitmq splitbrain is detected. Integrated rabbitmq dashboards in grafana via dashboards relations Added new unit test cases Closes-Bug: 1899183 Change-Id: I88942dd0b246c498d0ab40b00d586d4349b0f100
11 lines
362 B
YAML
11 lines
362 B
YAML
- alert: RabbitMQ_split_brain
|
|
# detect if rabbitmq_queues is different between rabbitmq nodes
|
|
expr: count(count(rabbitmq_queues) by (job)) > 1
|
|
for: 5m
|
|
labels:
|
|
severity: page
|
|
application: rabbitmq-server
|
|
annotations:
|
|
description: RabbitMQ split brain detected
|
|
summary: RabbitMQ split brain detected
|