Enabling rabbitmq shovel prometheus metrics
search cancel

Enabling rabbitmq shovel prometheus metrics

book

Article ID: 411296

calendar_today

Updated On:

Products

VMware Tanzu Application Service

Issue/Introduction

We want to enable rabbitmq shovel prometheus metrics on a space.

Command: [sudo] rabbitmq-plugins enable rabbitmq_shovel_prometheus

Source: rabbitmq-server/deps/rabbitmq_shovel_prometheus/README.md at main ยท rabbitmq/rabbitmq-server

Environment

TAS with rabbitmq tile and existing services deployed

Cause

The plugin is not enabled by default and requires to be enabled manually 

Resolution

Using cf cli

target the desired ORG and SPACE 

Identify the service deployed that requires update

cf services 

Get the UUID of the target RMQ service

cf service <NAME> --guid

Using the guid get VMs from bosh

bosh -d service-instance_<GUID> vms

ssh to each VM and execute:

sudo rabbitmq-plugins enable rabbitmq_shovel_prometheus

to verify 

sudo rabbitmq-plugins list | grep sudo rabbitmq-plugins