You can call CloudMonitor 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 CloudMonitor resource statistics.

Resource type Metric Unit Namespace MetricName Dimensions Statistics
Instance Number of inbound messages per second Count/s acs_amqp InstanceTPSIn userId, regionId, and instanceId Value
Number of outbound 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 inbound messages per second Count/s acs_amqp VHostTPSIn userId, regionId, instanceId, and vhostName Value
Number of outbound 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 inbound messages per second Count/s acs_amqp QueueTPSIn userId, regionId, instanceId, vhostName, and queueName Value
Number of outbound 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 inbound messages per second Count/s acs_amqp ExchangeTPSIn userId, regionId, instanceId, vhostName, and exchangeName Value
Number of outbound 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 CloudMonitor resource statistics operations, see Initiate API requests.