All Products
Search
Document Center

ApsaraMQ for Kafka:Managed Service for Prometheus

Last Updated:Aug 25, 2023

Alibaba Cloud Managed Service for Prometheus allows you to collect, store, and view monitoring data of Alibaba Cloud services in a unified manner. Managed Service for Prometheus also provides Grafana dashboards and alerts for the cloud services. This topic describes the metrics that are supported in Managed Service for Prometheus and how to use Managed Service for Prometheus in ApsaraMQ for Kafka.

Metrics

The following table describes the metrics that are supported in Managed Service for Prometheus.

Metric type

Metric

Description

Unit

Instance

instance_message_input

The amount of message production traffic that is generated on an ApsaraMQ for Kafka instance.

Bytes/s

instance_message_output

The amount of message consumption traffic that is generated on an ApsaraMQ for Kafka instance.

Bytes/s

instance_reqs_input

The number of requests for message production and sending on an ApsaraMQ for Kafka instance.

Requests/s

instance_message_num_input

The number of messages that are produced on an ApsaraMQ for Kafka instance.

Messages/s

instance_reqs_output

The number of requests for message consumption on an ApsaraMQ for Kafka instance.

Requests/s

instance_disk_capacity

The disk usage of an ApsaraMQ for Kafka instance.

%

instance_tcp_num

The total number of TCP connections that are established to an ApsaraMQ for Kafka instance.

N/A

instance_public_tcp_num

The total number of TCP connections that are established to an ApsaraMQ for Kafka instance over the Internet.

N/A

Topic

topic_message_input

The amount of message production traffic in a topic.

Bytes/s

topic_message_output

The amount of message consumption traffic in a topic.

Bytes/s

topic_reqs_input

The number of requests for message production and sending in a topic.

Requests/s

topic_reqs_output

The number of requests for message consumption in a topic.

Requests/s

topic_message_num_input

The number of messages that are produced in a topic.

Messages/s

Group

message_accumulation

The total number of accumulated messages.

N/A

message_accumulation_onetopic

The number of accumulated messages in a topic.

N/A

rebalance_generation

The number of times that messages are rebalanced in a consumer group.

N/A

group_message_num_output

The total number of messages that are consumed.

Messages/s

group_message_num_output_onetopic

The number of messages that are consumed in a topic.

Messages/s

group_message_num_output_onetopic_onepartition

The number of messages that are consumed in a partition

Messages/s

View the monitoring data

  1. Log on to the ApsaraMQ for Kafka console. On the Overview page, select a region in the Resource Distribution section.

  2. On the Instances page, click the name of the instance that you want to manage.
  3. In the left-side navigation pane, choose Observability > Prometheus Monitoring.

  4. In the upper-right corner of the Prometheus Monitoring page, specify a time range to view the monitoring data.

    If you want to view the monitoring data for a specific topic or consumer group, go to the details page of the topic or consumer group and click the Prometheus Monitoring tab.