How to get prometheus metrics from RabbitMQ managed on AmazonMQ?

I have a RabbitMQ 3.13.7 broker running on AWS AmazonMQ (in a 3-node cluster).
I’d like to get more detailed metrics which CloudWatch doesn’t have.

I know I can use the Management plugin’s API, but the
management_metrics_collection feature flag is deprecated since August 2021.

rabbitmq_prometheus is enabled on the RabbitMQ nodes, but I can’t access /metrics anywhere?

I tried CURL on these ports:

  • 15692 – Times out
  • 15672 – Times out
  • 15671 – Responds with “Object Not Found”
  • 443 – Responds with “Object Not Found”

While testing, all ports are open in the Security Group and in the VPC’s ACL.

Read more here: Source link