Updated on 2024-07-05 GMT+08:00

Enabling Cluster Monitoring

To enable monitoring for a cluster, you need to install the Cloud Native Cluster Monitoring add-on for metric collection. After cluster monitoring is enabled, cluster metrics are collected and reported to the selected AOM instance.

  • After cluster monitoring is enabled, cluster metrics are reported to the selected AOM instance. Basic metrics are free of charge but custom metrics are charged by AOM. For details, see Pricing Details.
  • Running the Cloud Native Monitoring add-on in a cluster consumes cluster resources. Ensure that there are required cluster resources for installing the add-on. To view resource consumption, go to the add-on details page.

Prerequisites

You have an account in the admin user group to delegate CCE and its dependent services.

The authorization dialog box is automatically displayed on the Monitoring Center page. After you confirm the authorization, the system automatically completes the authorization.

Constraints

Before using Monitoring Center, you need to use an account in the admin user group to delegate CCE and its dependent services. After the authorization is complete, users with the CCE Administrator role or CCE FullAccess permission can perform all operations on Monitoring Center. Users with the CCE ReadOnlyAccess permission can view all resource information but cannot perform any operations.

Enabling Cluster Monitoring

  • Enabling cluster monitoring during cluster purchase
    1. Log in to the CCE console and purchase a cluster.
    2. On the Select Add-on page, select the Cloud Native Cluster Monitoring add-on.
    3. On the Add-on Configuration page, select the AOM instance to be interconnected with the add-on. If there is no access code, create one first.
      Figure 1 Enabling cluster monitoring
  • Enabling cluster monitoring on the Monitoring Center page
    1. Click the cluster name to access the cluster console. In the navigation pane on the left, choose Monitoring Center.
    2. Click Enable and then select the AOM instance that metrics are reported to.
      Figure 2 Enabling cluster monitoring
    3. Wait for 3 to 5 minutes until the monitoring data is reported to the AOM instance.

      The functions of Monitoring Center are available.

  • Enabling cluster monitoring on the Add-ons page
    1. Click the cluster name to access the cluster console. In the navigation pane o the left, choose Add-ons.
    2. Select the Cloud Native Cluster Monitoring add-on and click Install.
    3. Enable the option for interconnecting with AOM to report the metrics to the selected AOM instance.
      Figure 3 Installing the Cloud Native Cluster Monitoring add-on
    4. Wait for 3 to 5 minutes until the monitoring data is reported to the AOM instance.

      The functions of Monitoring Center are available.

To disable cluster monitoring, uninstall the Cloud Native Cluster Monitoring add-on on the Add-ons page or disable the option for interconnecting with AOM.