Removed RabbitMQUnequalQueueCritical alert in Prometheus in case of using RabbitMQ in standalone mode.
Related-bug: PROD-36077
Change-Id: Ic6fba96aeafc472de220c12705ae2ee78f3af936
diff --git a/rabbitmq/meta/prometheus.yml b/rabbitmq/meta/prometheus.yml
index a8cc59b..0370b3b 100644
--- a/rabbitmq/meta/prometheus.yml
+++ b/rabbitmq/meta/prometheus.yml
@@ -47,6 +47,8 @@
annotations:
summary: "RabbitMQ service outage"
description: "All RabbitMQ services are down."
+{%- endraw %}
+{%- if not salt['pillar.get']('_param:openstack_rabbitmq_standalone_mode') %}
RabbitMQUnequalQueueCritical:
if: >-
max(rabbitmq_overview_queues) != min(rabbitmq_overview_queues)
@@ -57,8 +59,8 @@
annotations:
summary: "RabbitMQ service has unequal number of queues"
description: "RabbitMQ service has unequal number of queues across cluster instances."
+{%- endif %}
RabbitmqDiskFullWarning:
-{%- endraw %}
if: >-
rabbitmq_node_disk_free <= rabbitmq_node_disk_free_limit * {{ disk_threshold }}
{%- raw %}