Viewing Metrics on the CCI 2.0 Console
A Prometheus instance for cloud services can be used to monitor multiple metrics of CCI 2.0. You can view metrics on the CCI 2.0 console.
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
- Log in to the AOM 2.0 console.
- In the navigation pane, choose Prometheus Monitoring > Instances. On the displayed page, click Add Prometheus Instance.
- 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.
- Click OK.
Step 2: Connect Metrics on the CCI 2.0 Console
- Log in to the CCI 2.0 console.
- Select the target namespace, click Edit in the Operation column, and then enable AOM (Optional).
- Select the AOM instance. For details about how to create an AOM instance, see Step 1: Create a Prometheus Instance.
- Click OK.
Step 3: View Metrics on the CCI 2.0 Console
You can view the metrics of Deployments and pods on the CCI 2.0 console.
Viewing Metrics of a Deployment
- In the navigation pane, choose Workloads. On the displayed page, click the Deployments tab.
- Locate the Deployment and click Monitor in the Operation column. You can also click the name of the target workload to go to the details page. On the displayed page, click the Monitoring tab to view the metrics. For more metrics, go to the AOM console to query all metrics or use PromQL statements to query related metrics.
Table 1 Workload metrics Category
Metric Name
Definition
CPU
CPU Usage
CPU used by all pods of a workload during different time periods/CPU limits of the containers in all pods of the workload × 100%
Used CPU
Number of vCPUs used by all pods of a workload
Memory
Memory Usage
Total memory used by all pods of a workload during different time periods/Memory limits of the containers in all pods of the workload × 100%
Used Memory
Total memory used by all pods of a workload
Network
Network Rate
- Total number of bytes sent by the containers in all pods of a workload per second during different time periods
- Total number of bytes received by the containers in all pods of a workload per second during different time periods
Network Packet Loss Rate
- Packet loss (sender): The number of packets lost by all pods of the workload during different time periods/Total number of packets sent by all pods of the workload × 100%
- Packet loss (receiver): The number of packets lost by all pods of the workload during different time periods/Total number of packets received by all pods of the workload × 100%
Pod
CPU Usage
CPU that has been used by a pod of the workload during different time periods/CPU limit of the pod × 100%
Memory Usage
Memory that has been used by a pod of the workload during different time periods/Memory limit of the pod × 100%
Viewing Pod Metrics
- In the navigation pane, choose Workloads. On the displayed page, click the Deployments or Pods tab.
- Locate the target workload or pod and click Monitor in the Operation column. You can also click the name of the target pod to go to the details page. On the displayed page, click the Monitoring tab to view the metrics. For more metrics, go to the AOM console to query all metrics or use PromQL statements to query related metrics.
Table 2 Pod metrics Category
Metric Name
Definition
CPU
CPU Usage
CPU used by all containers in a pod during different time periods/CPU limits of all containers in the pod × 100%
Used CPU
Number of vCPUs used by all containers in a pod
Memory
Memory Usage
Total memory used by all containers in a pod during different time periods/Memory limits of all containers in the pod × 100%
Used Memory
Total memory used by all containers in a pod
Network
Network Rate
- Total Outbound Rate: the total number of bytes transmitted by all containers in a pod per second
- Total Inbound Rate: the total number of bytes received by all containers in a pod per second
Container
CPU Usage
CPU that has been used by a container in a pod during different time periods/CPU limit of the container × 100%
Memory Usage
Memory that has been used by a container in a pod during different time periods/Memory limit of the container × 100%
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot