On the Agent Settings tab of the Application Real-Time Monitoring Service (ARMS) console, you can view health check results, set the number of Prometheus agent replicas, and update the Prometheus agent.

Prerequisites

The services that you want to monitor are connected to Prometheus Service. For more information, see Connect an ACK cluster to Prometheus Service.

View health check results

The health check feature allows you to check whether Prometheus Service is installed and works as expected. If Prometheus Service fails to monitor data, you can troubleshoot the issue based on health check results.

  1. Log on to the ARMS console.
  2. In the left-side navigation pane, click Prometheus Monitoring.
  3. In the top navigation bar, select a region.
  4. On the Prometheus Monitoring page, click the name of a Kubernetes cluster.
  5. In the left-side navigation pane, click Settings. On the Settings page, click the Agent Settings tab.

On the Agent Settings tab, you can view health check results.

Health check results contain the runtime data of Prometheus Service in each phase. The runtime data is related to the following items:

  • The creation of Grafana.
  • API requests.
    Note Custom Grafana dashboards and self-managed clusters except for Kubernetes clusters use API URLs to obtain data sources.
  • The collected status of the Kubernetes cluster.
  • The number and details of Prometheus agent replicas.
  • The number and details of jobs that are used to collect metrics. You can check which jobs are free of charge or paid.
  • The usage of Prometheus metrics.

Set the number of Prometheus agent replicas

  1. Log on to the ARMS console.
  2. In the left-side navigation pane, click Prometheus Monitoring.
  3. In the top navigation bar, select a region.
  4. On the Prometheus Monitoring page, click the name of a Kubernetes cluster.
  5. In the left-side navigation pane, click Settings. On the Settings page, click the Agent Settings tab.
  6. In the upper-right corner of the Agent Settings tab, click Set Agent Replicas.
  7. In the Set Agent Replicas dialog box, set the number of Prometheus agent replicas and click OK.
    A Prometheus agent replica collects about 200,000 entries of data per minute, which requires a memory size of 200 to 900 MB and a single-core CPU. In general, one agent replica is sufficient. If a Kubernetes cluster generates 1.6 million entries of data per minute, you need eight agent replicas.

Update the Prometheus agent

  1. Log on to the ARMS console.
  2. In the left-side navigation pane, click Prometheus Monitoring.
  3. In the top navigation bar, select a region.
  4. On the Prometheus Monitoring page, click the name of a Kubernetes cluster.
  5. In the left-side navigation pane, click Settings. On the Settings page, click the Agent Settings tab.
  6. In the upper-right corner of the Agent Settings tab, click Upgrade Agent.
    After the execution is complete, the Execution Result message appears.