Basic ECS Metrics
Description
This section describes monitoring metrics reported by ECS to Cloud Eye. You can use Cloud Eye to view these metrics and alarms generated for ECSs.
Namespace
SYS.ECS
ECS Metrics
ECS metrics vary depending on ECS OSs and types. For details, see Table 1. √ indicates that the metric is supported, and x indicates that the metric is not supported.
| Metric | Windows | Linux | ||
|---|---|---|---|---|
| None | Xen | KVM | Xen | KVM |
| CPU Usage | √ | √ | √ | √ |
| Memory Usage | √ | √ | √ (VMTools must be installed on the image. Otherwise, this metric is unavailable.) | x (Agent must be installed on the ECS. Otherwise, this metric is unavailable.) |
| Disk Usage | √ | √ | √ (VMTools must be installed on the image. Otherwise, this metric is unavailable.) | x (Agent must be installed on the ECS. Otherwise, this metric is unavailable.) |
| Disk Read Bandwidth | √ | √ | √ | √ |
| Disk Write Bandwidth | √ | √ | √ | √ |
| Disk Read IOPS | √ | √ | √ | √ |
| Disk Write IOPS | √ | √ | √ | √ |
| Inband Incoming Rate | √ (VMTools must be installed on the image. Otherwise, this metric is unavailable.) | √ | √ (VMTools must be installed on the image. Otherwise, this metric is unavailable.) | x (Agent must be installed on the ECS. Otherwise, this metric is unavailable.) |
| Inband Outgoing Rate | √ (VMTools must be installed on the image. Otherwise, this metric is unavailable.) | √ | √ (VMTools must be installed on the image. Otherwise, this metric is unavailable.) | x (Agent must be installed on the ECS. Otherwise, this metric is unavailable.) |
| Outband Incoming Rate | √ (If VMTools is installed on the image, this metric is unavailable. In such a case, use the inband incoming rate.) | √ | √ (If VMTools is installed on the image, this metric is unavailable. In such a case, use the inband incoming rate.) | √ |
| Outband Outgoing Rate | √ (If VMTools is installed on the image, this metric is unavailable. In such a case, use the inband outgoing rate.) | √ | √ (If VMTools is installed on the image, this metric is unavailable. In such a case, use the inband outgoing rate.) | √ |
| CPU Credit Usage | x | √ (Only for T6 ECSs) | x | √ (Only for T6 ECSs) |
| CPU Credit Balance | x | √ (Only for T6 ECSs) | x | √ (Only for T6 ECSs) |
| CPU Surplus Credit Balance | x | √ (Only for T6 ECSs) | x | √ (Only for T6 ECSs) |
| CPU Surplus Credits Charged | x | √ (Only for T6 ECSs) | x | √ (Only for T6 ECSs) |
- Certain ECS metrics require the installation of VMTools on the image, based on which the ECS is created. For instructions about how to install VMTools, see https://github.com/UVP-Tools/UVP-Tools/.
- Certain ECS metrics require the installation of the agent on the ECS. After the agent is installed, log in to the management console and choose Cloud Eye under Management & Deployment. Then, view ECS metrics, such as AGT. User Space CPU Usage, by choosing ECS Monitoring > Target ECS > OS Monitoring. For details, see ECS Metrics Under OS Monitoring.
- For instructions about how to install the agent on a Windows ECS, see Installing and Configuring the Agent (Windows).
- For instructions about how to install the agent on a Linux ECS, see Installing and Configuring the Agent (Linux).
Table 2 describes these ECS metrics.
The monitoring intervals for the following ECSs with raw monitoring metrics are as follows:
- Xen ECS: 4 minutes
- KVM ECS: 5 minutes
| Metric | Parameter | Description | Value Range | Monitored Object | Monitoring Interval (Raw Metrics and KVM Only) |
|---|---|---|---|---|---|
| cpu_util | CPU Usage | CPU usage of an ECS This metric is used to show the CPU usage of the physical server accommodating the monitored ECS, which is not accurate as the CPU usage obtained on the monitored ECS. For details, see Why Is the Basic Monitoring Data Inconsistent with the OS Monitoring Data? Unit: Percent Formula: CPU usage of an ECS/Number of vCPUs in the ECS | ≥ 0 | ECS | 5 minutes |
| mem_util | Memory Usage | Memory usage of an ECS This metric is unavailable if the image has no VMTools installed. Unit: Percent Formula: Used memory of an ECS/Total memory of the ECS | ≥ 0 | ECS | 5 minutes |
| disk_util_inband | Disk Usage | Disk usage of an ECS This metric is unavailable if the image has no VMTools installed. Unit: Percent Formula: Used capacity of an ECS disk/Total capacity of the ECS disk | ≥ 0 | ECS | 5 minutes |
| disk_read_bytes_rate | Disk Read Bandwidth | Number of bytes read from an ECS disk per second Unit: byte/s Formula: Total number of bytes read from an ECS disk/Monitoring interval byte_out = (rd_bytes - last_rd_bytes)/Time difference | ≥ 0 | ECS | 5 minutes |
| disk_write_bytes_rate | Disk Write Bandwidth | Number of bytes written to an ECS disk per second Unit: byte/s Formula: Total number of bytes written to an ECS disk/Monitoring interval | ≥ 0 | ECS | 5 minutes |
| disk_read_requests_rate | Disk Read IOPS | Number of read requests sent to an ECS disk per second Unit: request/s Formula: Total number of read requests sent to an ECS disk/Monitoring interval req_out = (rd_req - last_rd_req)/Time difference | ≥ 0 | ECS | 5 minutes |
| disk_write_requests_rate | Disk Write IOPS | Number of write requests sent to an ECS disk per second Unit: request/s Formula: Total number of write requests sent to an ECS disk/Monitoring interval req_in = (wr_req - last_wr_req)/Time difference | ≥ 0 | ECS | 5 minutes |
| network_incoming_bytes_rate_inband | Inband Incoming Rate | Number of incoming bytes on an ECS per second Unit: byte/s Formula: Total number of inband incoming bytes on an ECS/Monitoring interval | ≥ 0 | ECS | 5 minutes |
| network_outgoing_bytes_rate_inband | Inband Outgoing Rate | Number of outgoing bytes on an ECS per second Unit: byte/s Formula: Total number of inband outgoing bytes on an ECS/Monitoring interval | ≥ 0 | ECS | 5 minutes |
| network_incoming_bytes_aggregate_rate | Outband Incoming Rate | Number of incoming bytes on an ECS per second on the hypervisor Unit: byte/s Formula: Total number of outband incoming bytes on an ECS/Monitoring interval This metric is unavailable if SR-IOV is enabled. | ≥ 0 | ECS | 5 minutes |
| network_outgoing_bytes_ aggregate_rate | Outband Outgoing Rate | Number of outgoing bytes on an ECS per second on the hypervisor Unit: byte/s Formula: Total number of outband outgoing bytes on an ECS/Monitoring interval This metric is unavailable if SR-IOV is enabled. | ≥ 0 | ECS | 5 minutes |
| network_vm_connections | Network connections | Total number of TCP and UDP connections to an ECS Unit: count | ≥ 0 | ECS | 5 minutes |
| cpu_credit_usage | CPU Credit Usage | Number of CPU credits spent by the ECS for CPU utilization Unit: Count Formula: One CPU credit = One vCPU running at 100% utilization for one minute NOTE: This metric is supported by T6 ECSs only. | ≥ 0 | ECS | 5 minutes |
| cpu_credit_balance | CPU Credit Balance | Number of earned CPU credits that an ECS has accrued since it was created or started Unit: Count Formula (based on flavors): CPU Credit Balance = CPU credits per hour x Hours – CPU Credit Usage NOTE: When the accrued credits reach the upper limit for the credit balance, any new credits that are earned are discarded. However, launch credits are not counted in the upper limit. This metric is supported by T6 ECSs only. | ≥ 0 | ECS | 5 minutes |
| cpu_surplus_credit_balance | CPU Surplus Credit Balance | Number of surplus credits that have been spent by an ECS when its CPU Credit Balance becomes zero Unit: Count Formula: One CPU credit = One vCPU running at 100% utilization for one minute NOTE: When the CPU Credit Balance becomes zero and the CPU usage is above the baseline, surplus credits are accrued. This metric is supported by T6 ECSs only. | ≥ 0 | ECS | 5 minutes |
| cpu_surplus_credit_charged | CPU Surplus Credits Charged | Number of surplus credits spent by the ECS for charging when its CPU Credit Balance becomes zero Unit: Count Formula: One CPU credit = One vCPU running at 100% utilization for one minute NOTE: When the CPU Surplus Credit Balance reaches the upper limit and the CPU usage is consistently above the baseline for a long period of time, spent surplus credits are charged. This metric is supported by T6 ECSs only. | ≥ 0 | ECS | 5 minutes |
Dimensions
| Key | Value |
|---|---|
| instance_id | Specifies the ECS ID. |
Last Article: Monitoring ECSs
Next Article: OS Monitoring Metrics Supported by ECSs with the Agent Installed
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.