You can call CloudMonitor resource statistics operations to query the usage of ApsaraMQ for RabbitMQ resources, including instances, vhosts, queues, and exchanges.
Metrics
The following table describes the ApsaraMQ for RabbitMQ metrics provided by CloudMonitor resource statistics.
Resource type | Metric | Unit | Namespace | MetricName | Dimensions | Statistics |
---|---|---|---|---|---|---|
Instance | Peak TPS of API calls Note This metric specifies the peak TPS of API calls per minute. In total, 60 TPS samples are taken at a 1-second interval in a minute. The largest TPS is used as the peak TPS for the minute. | Transactions/second | acs_amqp | InstanceMaxTpsInMiunte | userId, regionId, and instanceId | Value |
Number of inbound messages per second | Messages/second | acs_amqp | InstanceTPSIn | userId, regionId, and instanceId | Value | |
Number of outbound messages per second | Messages/second | acs_amqp | InstanceTPSOut | userId, regionId, and instanceId | Value | |
Number of consumers | N/A | acs_amqp | InstanceConsumers | userId, regionId, and instanceId | Value | |
Number of connections | N/A | acs_amqp | InstanceConnections | userId, regionId, and instanceId | Value | |
Number of channels | N/A | acs_amqp | InstanceChannelsNew | userId, regionId, and instanceId | Value | |
Vhost | Number of inbound messages per second | Messages/second | acs_amqp | VHostTPSIn | userId, regionId, instanceId, and vhostName | Value |
Number of outbound messages per second | Messages/second | acs_amqp | VHostTPSOut | userId, regionId, instanceId, and vhostName | Value | |
Number of consumers | N/A | acs_amqp | InstanceVhostConsumers | userId, regionId, instanceId, and vhostName | Value | |
Number of connections | N/A | acs_amqp | VhostConnections | userId, regionId, instanceId, and vhostName | Value | |
Number of channels | N/A | acs_amqp | VhostChannels | userId, regionId, instanceId, and vhostName | Value | |
Queue | Number of inbound messages per second | Messages/second | acs_amqp | QueueTPSIn | userId, regionId, instanceId, vhostName, and queueName | Value |
Number of outbound messages per second | Messages/second | acs_amqp | QueueTPSOut | userId, regionId, instanceId, vhostName, and queueName | Value | |
Number of consumers | N/A | acs_amqp | InstanceVhostQueueConsumers | userId, regionId, instanceId, vhostName, and queueName | Value | |
Number of accumulated messages | N/A | acs_amqp | InstanceVhostQueueMessageAccum | userId, regionId, instanceId, vhostName, and queueName | Maximum | |
Exchange | Number of inbound messages per second | Messages/second | acs_amqp | ExchangeTPSIn | userId, regionId, instanceId, vhostName, and exchangeName | Value |
Number of outbound messages per second | Messages/second | 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 Request methods.