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

Procedure

  1. Log on to the ARMS console .
  2. In the left-side navigation pane, choose Prometheus Monitoring > Prometheus Instances.
  3. In the upper-left corner of the page, select the region where your Prometheus instance resides. Then, click the name of the Prometheus instance. The Prometheus instance can be an instance that is used to monitor a Container Service for Kubernetes (ACK) cluster, a self-managed Kubernetes instance, or an Elastic Compute Service (ECS) instance.
  4. In the left-side navigation pane, click Component Monitoring.

Add an Elasticsearch exporter

  1. Log on to the Exporters Page, click in the upper-right corner. Add Exporter .
  2. In the Integration Center panel, click the Elasticsearch exporter icon.
  3. In the Integrate Elasticsearch panel, set the required parameters on the Configuration tab in the STEP2 section, and then click OK.
    el
    Parameter Description
    Exporter name The name of the exporter. The name must meet the following requirements:
    • It can contain only lowercase letters, digits, and hyphens (-), and cannot start or end with a hyphen (-).
    • It must be unique.
    Note If you do not specify this parameter, the system uses the default name that consists of the exporter type and a numeric suffix.
    ElasticsearchAddress The URL that is used to access the Elasticsearch cluster.
    ElasticsearchPort The port number of the Elasticsearch cluster. Example: 9200.
    Username The username that is used to access the Elasticsearch cluster.
    Password The password that is used to access the Elasticsearch cluster.
    Note You can view the monitoring metrics on the Metrics tab in the STEP2 section of the Integrate Elasticsearch panel.
  4. The newly added exporter is displayed on the Component Monitoring page.
  5. Click the dashboard in the Dashboards column to view the monitoring metrics of the exporter.
    pg_prom_dashboard_es
    Note You can also click the Instance Name of the exporter to view its monitoring metrics.

Related operations

On the Component Monitoring page, you can perform the following operations on the exporter:

  • Click Delete in the Actions column to delete the exporter.
  • Click Logs in the Actions column to view the logs of the exporter.
  • Click Details in the Actions column to view the details of the exporter, including the environment variables and description of the exporter.