All Products
Search
Document Center

Elastic Container Instance:Use CloudMonitor to monitor elastic container instances

Last Updated:Sep 01, 2023

CloudMonitor automatically obtains the information of your cloud service resources in your Alibaba Cloud account. You can view the monitoring charts of elastic container instances in the CloudMonitor console to understand the status of the instances. You can also set alert rules to obtain the monitoring data of exceptions and handle the exceptions.

Background information

CloudMonitor is a service that monitors Internet applications and Alibaba Cloud resources. CloudMonitor can provide monitoring data for the following metrics of elastic container instances:

  • instance_cpu_utilization:CPU utilization

  • instance_memory_utilization: memory utilization

  • advance_credit: burstable instance - advance CPU credits

  • burst_credit: burstable instance - consumed CPU credits

  • notpaid_surplus_credit: burstable Instance - overdrawn CPU credits

  • total_credit: burstable instance - total CPU credits

For more information, visit Metrics of elastic container instances.

View monitoring data

You can view the status and metrics data of elastic container instances in the CloudMonitor console.

  1. Log on to the CloudMonitor console.

  2. In the left-side navigation pane, click Cloud Service Monitoring.

  3. On the Cloud Service Monitoring page, select Elastic Container Instance (ECI).

  4. In the top navigation bar, select a region.

  5. In the instance list, click the elastic container instance whose monitoring data you want to view.

  6. Select a time range or set a time range to view monitoring data.

    Note
    • You can view monitoring data for up to 30 consecutive days at a time.

    • The monitoring data of burstable instance metrics are only provided for elastic container instances that are created based on an instance type of ECS (Elastic Compute Service) burstable instance families, such as the t6 or t5 instance family. For more information about CPU credits, see Overview.

Configure alert rules

You can configure alert rules for metrics of elastic container instances. For example, set an alert rule for CPU utilization higher than 80%. When the monitoring data meets the alert rules, CloudMonitor automatically sends an alert notification. This helps you understand the resource status and handle exceptions. For more information, see Create an alert rule.