You can view the monitoring data of disks in the Elastic Compute Service (ECS) or CloudMonitor console, such as input/output operations per second (IOPS) and throughput. You can troubleshoot issues and determine whether to extend or upgrade disks based on their monitoring data. This topic describes how to view the monitoring data of disks in the ECS or CloudMonitor console.
Background information
- IOPS: measures the number of read and write operations that an Elastic Block Storage (EBS) device can perform per second. High IOPS is essential for transaction-intensive applications.
- Throughput: measures the amount of data transferred per second. Unit: MB/s. High throughput is essential for applications that require a large number of sequential read and write operations.
View the monitoring data of a disk in the ECS console
You can view the monitoring data such as IOPS and throughput of disks in the ECS console.
If monitoring data indicates that disk performance is bottlenecked, you can optimize your business applications or upgrade the disk. For information about how to upgrade a disk, see Change the category of a disk.
View the monitoring data of a disk in the CloudMonitor console
You can view the monitoring metrics such as usage, IOPS, and throughput of disks in the CloudMonitor console and configure alert rules based on actual scenarios. The following table describes the metrics of disks. For more information, see Metrics.
Metric | Description | Unit | MetricName | Dimensions | Statistics |
---|---|---|---|---|---|
Host.diskusage.used | The amount of disk space that is used. | Byte | diskusage_used | userId, instanceId, and device | Maximum, Minimum, and Average |
Host.disk.utilization | The disk usage. | % | diskusage_utilization | userId, instanceId, and device | Maximum, Minimum, and Average |
Host.diskusage.free | The amount of available disk space for regular users and superusers. | Byte | diskusage_free | userId, instanceId, and device | Maximum, Minimum, and Average |
Host.diskusage.avail | The amount of available disk space for regular users. | Byte | diskusage_avail | userId, instanceId, and device | Maximum, Minimum, and Average |
Host.diskusage.total | The total amount of disk space. | Byte | diskusage_total | userId, instanceId, and device | Maximum, Minimum, and Average |
Host.disk.readbytes | The number of bytes that are read from the disk per second. | Byte/s | disk_readbytes | userId, instanceId, and device | Maximum, Minimum, and Average |
Host.disk.writebytes | The number of bytes that are written to the disk per second. | Byte/s | disk_writebytes | userId, instanceId, and device | Maximum, Minimum, and Average |
Host.disk.readiops | The number of read requests that the disk receives per second. | count/s | disk_readiops | userId, instanceId, and device | Maximum, Minimum, and Average |
Host.disk.writeiops | The number of write requests that the disk receives per second. | count/s | disk_writeiops | userId, instanceId, and device | Maximum, Minimum, and Average |
The following procedure describes how to view the monitoring data of a disk and configure alert rules for the disk in the CloudMonitor console.
- Log on to the CloudMonitor console.
- Install the CloudMonitor agent. For more information, see Install and uninstall the CloudMonitor agent.
- View the monitoring data of a disk.
- Configure alert rules for the disk. For more information, see Alert service.
If monitoring data indicates that disk performance is bottlenecked, you can optimize your business applications or upgrade the disk. For information about how to upgrade a disk, see Change the category of a disk.
If the disk is almost full, delete data that is no longer needed to free up space or extend the disk. For information about how to extend a disk, see Overview.