Updated on 2025-02-14 GMT+08:00

Viewing Kafka Metrics

Cloud Eye monitors Kafka instance metrics in real time. You can view each and key metrics on the Cloud Eye console.

Prerequisite

At least one Kafka instance has been created. The instance has at least one available message.

Procedure

  1. Log in to the console.
  2. Click in the upper left corner to select the region where your instance is located.
  3. Click and choose Middleware > Distributed Message Service (for Kafka) to open the console of DMS for Kafka.
  4. In the navigation pane, choose Kafka Instances.
  5. View the instance metrics in either of the following ways:

    • In the row containing the desired instance, click View Metric. On the Cloud Eye console, view the metrics. Metric data is reported to Cloud Eye every minute.
    • Click the desired instance to go to the instance details page. In the navigation pane, choose Monitoring and Alarms > Monitoring Details. On the displayed page, view the monitoring data. The data is updated every minute.

    Click the following dimensions to view monitoring data:

    • Single-node instance: By Instance, By Broker, By Topic, or By Consumer Group.
    • Cluster instance: By Instance, By Broker, By Topic, By Consumer Group, or By Smart Connect.

Viewing Top Kafka KPI Data

  1. Log in to the console.
  2. Click in the upper left corner to select the region where your instance is located.
  3. Click and choose Middleware > Distributed Message Service (for Kafka) to open the console of DMS for Kafka.
  4. In the navigation pane, choose Kafka Instances.
  5. Click the desired instance to go to the instance details page.
  6. In the navigation pane, choose Monitoring and Alarms > Monitoring Overview.
  7. In the KPI Rankings area, check the top 5, top 10, and top 20 data by consumer group, topic, and broker.

    Table 1 KPI list

    Dimension

    Key Metric

    By Consumer Group

    • Accumulated Messages
    • Consumer Retrieved Messages

    By Topic

    • Total Messages
    • Message Creation
    • Message Retrieval

    Broker

    • CPU Usage
    • Network Bandwidth Usage
    • Disk Read Speed
    • Disk Write Speed
    Figure 1 KPI ranking