Help Center/ Cloud Container Instance (CCI)/ User Guide/ Using CCI Through the Console/ Monitoring/ Using the AOM Dashboard to Display CCI 2.0 Metrics
Updated on 2025-09-26 GMT+08:00

Using the AOM Dashboard to Display CCI 2.0 Metrics

AOM can display multiple metrics on the same screen in a visualized manner. You can add key resource metrics to the dashboard and monitor them in real time.

Constraints

Only one Prometheus instance for cloud services can be created in an enterprise project.

CCI 2.0 supports monitoring only in the TR-Istanbul, AF-Johannesburg, AP-Singapore, and ME-Riyadh regions.

Step 1: Create a Prometheus Instance

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

    If the CCE Cloud Bursting Engine for CCI add-on is being used or required, the CCE cluster also needs this Prometheus instance, with the instance type set to Prometheus for CCE.

  4. Click OK.

Step 2: Connect Metrics on the CCI 2.0 Console

  1. Log in to the CCI 2.0 console.
  2. Select the target namespace, click Edit in the Operation column, and then enable AOM (Optional).
  3. Select the AOM instance. For details about how to create an AOM instance, see Step 1: Create a Prometheus Instance.
  4. Click OK.

Step 3: Create a Dashboard

  1. Go to the AOM 2.0 console. In the navigation pane, choose Dashboard. On the displayed page, click Add Dashboard.

    Figure 1 Adding a dashboard

  1. Click the name of the created dashboard to go to the details page.
  2. Click Add Chart, enter the title, select Prometheus statement, add a statement, and click Save. For details about CCI 2.0 dashboard metrics, see Table 1.

    The following is an example statement for querying the CPU usage of all pods:
    sum(rate(container_cpu_usage_seconds_total{cluster="cci", image!=""}[5m])) by (pod, namespace) / (sum(container_spec_cpu_quota{cluster="cci", image!=""}/100000) by (pod, namespace)) * 100
    Table 1 Dashboard metrics

    Dimension

    Category

    Metric Name

    Definition

    Deployment

    CPU

    vCPU Usage

    CPU usage

    Used vCPUs

    Used CPU

    mem

    Memory Usage

    Memory usage

    Used Memory

    Used memory

    net

    Network Rate

    Network rate

    Packet Loss

    Network packet loss rate

    Pod

    CPU

    vCPU Usage

    CPU usage

    Used vCPUs

    Used CPU

    mem

    Memory Usage

    Memory usage

    Used Memory

    Used memory

    net

    Network Rate

    Network rate

    Container

    CPU

    vCPU Usage

    CPU usage

    mem

    Memory Usage

    Memory usage

  3. View the metrics on the AOM 2.0 dashboard.

    For more monitoring and O&M methods, see Creating a Dashboard.

    Figure 2 Metrics