Alibaba Cloud Managed Service for Prometheus allows you to install and configure RocketMQ exporters. Managed Service for Prometheus also provides out-of-the-box dashboards that you can use to monitor your applications.

Procedures

Procedure 1: Integration Center of Managed Service for Prometheus

  1. Log on to the ARMS console.
  2. In the left-side navigation pane, choose Prometheus Service > Prometheus Instances.
  3. Click the name of the Prometheus instance instance that you want to manage to go to the Integration Center page.

Procedure 2: Integration Center in the ARMS console

  1. Log on to the ARMS console.
  2. In the left-side navigation pane, click Integration Center. On the Integration Center page, click RocketMQ in the Application Components section. In the Monitor RocketMQ panel that appears, follow the on-screen instructions to add the exporter.

Install and configure a RocketMQ exporter

This section describes how to install and configure a RocketMQ exporter on the Integration Center page of Managed Service for Prometheus.

  1. Install a RocketMQ exporter.
    • If you install a RocketMQ exporter for the first time, perform the following operation:
      In the uninstalled section of the Integration Center page, find the RocketMQ exporter and click Install. vry
    • If you have installed a RocketMQ exporter, you need to add the exporter again:

      In the Installed section of the Integration Center page, click Add on the RocketMQ exporter.

  2. On the Configuration tab in the STEP2 section, configure the parameters and click OK. The following table describes the parameters.
    ParameterDescription
    Exporter NameThe name of the RocketMQ exporter. The name must meet the following requirements:
    • The name can contain only lowercase letters, digits, and hyphens (-) and cannot start or end with a hyphen (-).
    • The name must be unique.
    Note If you do not specify this parameter, the system uses the default name, which consists of the exporter type and a numeric suffix.
    RocketMQ AddressThe URL that is used to access the RocketMQ system. Format: Endpoint:Port number. Separate multiple URLs with commas (,).
    Note The URL of the RocketMQ system that is deployed in Container Service for Kubernetes (ACK) is automatically displayed in the drop-down list.
    UsernameThe AccessKey ID of the RocketMQ system.
    PasswordThe AccessKey secret of the RocketMQ system.
    Note You can view the monitoring metrics on the Metrics tab in the STEP2 section.

    The installed components are displayed in the Installed section of the Integration Center page. Click the component. In the panel that appears, you can view information such as targets, metrics, dashboard, alerts, service discovery configurations, and exporters. For more information, see Integration center.