You can call the resource reports API operations of CloudMonitor to query the usage of resources, including an instance, a consumer group, and a topic of Message Queue for Apache Kafka.

Metrics

The resource reports API of CloudMonitor supports the following metrics for Message Queue for Apache Kafka.

Metric Description Unit Dimension
instance_disk_capacity The disk usage of a Message Queue for Apache Kafka instance. % instanceId
instance_message_input The production traffic of a Message Queue for Apache Kafka instance. bytes/s instanceId
instance_message_output The consumption traffic of a Message Queue for Apache Kafka instance. bytes/s instanceId
message_accumulation The number of unconsumed messages for a consumer group. Count
  • instanceId
  • consumerGroup
message_accumulation_onetopic The number of unconsumed messages in the topic for a consumer group. Count
  • instanceId
  • consumerGroup
  • topic
topic_message_input The production traffic of a topic. bytes/s
  • instanceId
  • topic
topic_message_output The consumption traffic of a topic. bytes/s
  • instanceId
  • topic

List of operations by function

API operations

For the information about how to call the CloudMonitor resource reports API operations, see Request method.