Rabbitmq: how to query the metric per object in Rabbitmq for kubernetes
search cancel

Rabbitmq: how to query the metric per object in Rabbitmq for kubernetes

book

Article ID: 395567

calendar_today

Updated On:

Products

VMware Tanzu RabbitMQ

Issue/Introduction

In the default configuration, you cannot see the metric for each queue, because the metrics are aggregated. For example, you have two queues named qq1 and qq2. There are 2 and 3 messages in the qq1 and qq2 respectively. 

 

But you should see the total messages are 5, not the amount of the message is  2 for qq1 and the amount of the messages is 3 for qq2 separately.

 

 

 

 

 

Resolution

Please add the following line in the yaml file and it will return the metric for each object
 
prometheus.return_per_object_metrics = true