Help Center/ Application Operations Management/ User Guide/ Prometheus Monitoring/ Using Prometheus Monitoring to Monitor CCE Cluster Metrics
Updated on 2025-09-03 GMT+08:00

Using Prometheus Monitoring to Monitor CCE Cluster Metrics

Based on the Prometheus monitoring ecosystem, AOM provides hosted Prometheus instances for CCE, which are suitable for monitoring CCE clusters and applications running on them. By default, Prometheus instances for CCE support integration with the Cloud Native Cluster Monitoring add-on. After installing the add-on, metrics will be automatically reported to a specified Prometheus instance for CCE.

Constraints

  • Only when the Cloud Native Cluster Monitoring add-on (kube-prometheus-stack) exists on the Add-ons page of CCE, can you install the add-on for clusters.
  • Before installing the kube-prometheus-stack add-on, ensure that there are at least 4 vCPUs and 8 GiB memory. Otherwise, this add-on cannot work.

Creating a Prometheus Instance for CCE

  1. Log in to the AOM 2.0 console.
  2. In the navigation pane on the left, choose Prometheus Monitoring > Instances. On the displayed page, click Add Prometheus Instance.
  3. Set an instance name, enterprise project, and instance type.

    Table 1 Parameters for creating a Prometheus instance

    Parameter

    Description

    Instance Name

    Prometheus instance name.

    Enter a maximum of 100 characters and do not start or end with an underscore (_) or hyphen (-). Only letters, digits, underscores, and hyphens are allowed.

    Enterprise Project

    Enterprise project.

    • If Enterprise Project is set to All on the global settings page, select an enterprise project from the drop-down list here.
    • If you have already selected an enterprise project on the global settings page, this option will be grayed and cannot be changed.
    • To select the newly created enterprise project during the creation of a Prometheus instance, wait for about 10 minutes after the enterprise project is created.

    Instance Type

    Type of the Prometheus instance. Select Prometheus for CCE.

  4. Click OK.

    To use more functions on the details page of a Prometheus instance for CCE, you need to obtain CCE permissions in advance. For details, see Permissions.

Connecting a CCE Cluster

  1. Log in to the AOM 2.0 console.
  2. Choose Prometheus Monitoring > Instances.
  3. In the instance list, click a Prometheus instance for CCE.
  4. On the Integration Center page, click Connect Cluster. In the cluster list, you can view the cluster information, installation status, and collection status.

    Figure 1 Viewing cluster connection information

  5. Locate a target cluster and click Install in the Operation column to install the Cloud Native Cluster Monitoring add-on.

    Figure 2 Connecting a CCE cluster

  6. After the installation is complete, click Close to connect the CCE cluster and bind it with the current Prometheus instance.

    To disconnect the CCE cluster, click Uninstall.