From 14a3e89421989e8d87797a711475c077ecad627c Mon Sep 17 00:00:00 2001 From: Doug Szumski Date: Tue, 14 Nov 2017 15:40:49 +0000 Subject: [PATCH] Fix RabbitMQ whitelist documentation error In monasca_agent/collector/checks_d/rabbitmq.py QUEUE_TYPE is defined as 'queues'. In conf.d/rabbitmq.yaml.example the whitelist stores the permitted queues in the list 'queue'. This should be 'queues'. If the documentation is followed the user specified white list is ignored. The same looks to be the case for exchanges and nodes. Story: 2001290 Change-Id: I3e70a888f5c0db27951e619da8bc17ae9eaf9da9 --- conf.d/rabbitmq.yaml.example | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/conf.d/rabbitmq.yaml.example b/conf.d/rabbitmq.yaml.example index 2da1cbe2..80dff9ae 100644 --- a/conf.d/rabbitmq.yaml.example +++ b/conf.d/rabbitmq.yaml.example @@ -52,16 +52,16 @@ instances: - queue1 - queue2 whitelist: - queue: + queues: - message_stats/deliver_details/rate - message_stats/publish_details/rate - message_stats/redeliver_details/rate - exchange: + exchanges: - message_stats/publish_out - message_stats/publish_out_details/rate - message_stats/publish_in - message_stats/publish_in_details/rate - node: + nodes: - fd_used - mem_used - run_queue