Unable to get RabbitMQ Extended metrics in Appdynamics Platform Monitoring tile after upgrading to RabbitMQ for VMs 2.0
search cancel

Unable to get RabbitMQ Extended metrics in Appdynamics Platform Monitoring tile after upgrading to RabbitMQ for VMs 2.0

book

Article ID: 293216

calendar_today

Updated On:

Products

VMware RabbitMQ

Issue/Introduction

You configured Extended Metrics JSON filter in Appdynamics Platform Monitoring tile and you are getting stats before RabbitMQ upgrade continuously:
{ 
  "p-rabbitmq":["*"], 
  "p.rabbitmq":["*"]
 }

However, you are not getting RabbitMQ stats in Appdynamics Platform Monitoring after upgrading to RabbitMQ for VMs 2.0 and you are observing the required metrics have an empty origin.

For example, this the "cf nozzle -filter ValueMetric | grep rabbitmq" output:
origin:"" eventType:ValueMetric timestamp:1627276256591479740 deployment:"service-instance_xxx" job:"rabbitmq-server" index:"xxx" ip:"xxx" tags:<key:"instance_id" value:"xxx" > tags:<key:"source_id" value:"rabbit@localhost" > valueMetric:<name:"rabbitmq_consumers" value:0 unit:"" >  


Environment

Product Version: 2.0

Resolution

Metrics emitted by the RabbitMQ for VMs 1.x tile included origin: "p-rabbitmq" (Pre-Provisioned) and origin: "p.rabbitmq" (On-demand) labels.

After migration to prom_scraper in RabbitMQ for VMs 2.x, the value is not set anymore and this empty (origin: "") breaks monitoring for some users. The origin is being included back in RabbitMQ for VMs Tile v2.0.5.