You can call Cloud Monitor resource statistics operations to query the usage of Message Queue for RabbitMQ resources, including instances, vhosts, queues, and exchanges.

Metrics

The following table describes the Message Queue for RabbitMQ metrics provided by Cloud Monitor resource statistics.

Resource type Monitoring metric Unit Namespace Metric name Dimension Statistics
Instance Number of incoming messages per second Count/s acs_amqp InstanceTPSIn userId, regionId, and instanceId Value
Number of outgoing messages per second Count/s acs_amqp InstanceTPSOut userId, regionId, and instanceId Value
Number of consumers Count acs_amqp InstanceConsumers userId, regionId, and instanceId Value
Number of connections Count acs_amqp InstanceConnections userId, regionId, and instanceId Value
Number of channels Count acs_amqp InstanceChannelsNew userId, regionId, and instanceId Value
vhost Number of incoming messages per second Count/s acs_amqp VHostTPSIn userId, regionId, instanceId, and vhostName Value
Number of outgoing messages per second Count/s acs_amqp VHostTPSOut userId, regionId, instanceId, and vhostName Value
Number of consumers Count acs_amqp InstanceVhostConsumers userId, regionId, instanceId, and vhostName Value
Number of connections Count acs_amqp VhostConnections userId, regionId, instanceId, and vhostName Value
Number of channels Count acs_amqp VhostChannels userId, regionId, instanceId, and vhostName Value
Queue Number of incoming messages per second Count/s acs_amqp QueueTPSIn userId, regionId, instanceId, vhostName, and queueName Value
Number of outgoing messages per second Count/s acs_amqp QueueTPSOut userId, regionId, instanceId, vhostName, and queueName Value
Number of consumers Count acs_amqp InstanceVhostQueueConsumers userId, regionId, instanceId, vhostName, and queueName Value
Number of accumulated messages Count acs_amqp InstanceVhostQueueMessageAccum userId, regionId, instanceId, vhostName, and queueName Maximum
Exchange Number of incoming messages per second Count/s acs_amqp ExchangeTPSIn userId, regionId, instanceId, vhostName, and exchangeName Value
Number of outgoing messages per second Count/s acs_amqp ExchangeTPSOut userId, regionId, instanceId, vhostName, and exchangeName Value

API operations

Make API requests

For more information about how to call Cloud Monitor resource statistics operations, see Request method.