You can view the monitoring data of disks in the Elastic Compute Service (ECS) or CloudMonitor console, such as 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 process 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 |
---|---|---|---|---|---|
(Agent)disk.usage.used_device | The disk space in use. | Byte | diskusage_used | userId, instanceId, and device | Maximum, Minimum, and Average |
(Agent)disk.usage.utilization_device | The disk usage. | % | diskusage_utilization | userId, instanceId, and device | Maximum, Minimum, and Average |
(Agent)disk.usage.free_device | The size of available disk space for regular users and superusers. | Byte | diskusage_free | userId, instanceId, and device | Maximum, Minimum, and Average |
(Agent)disk.usage.avail_device | The size of available disk space for regular users. | Byte | diskusage_avail | userId, instanceId, and device | Maximum, Minimum, and Average |
(Agent)disk.usage.total_device | The size of the total disk space. | Byte | diskusage_total | userId, instanceId, and device | Maximum, Minimum, and Average |
(Agent)disk.read.bps_device | The number of bytes that are read from the disk per second. | Byte/s | disk_readbytes | userId, instanceId, and device | Maximum, Minimum, and Average |
(Agent)disk.write.bps_device | The number of bytes that are written to the disk per second. | Byte/s | disk_writebytes | userId, instanceId, and device | Maximum, Minimum, and Average |
(Agent)disk.read.iops_device | The number of read requests that the disk receives per second. | Requests/s | disk_readiops | userId, instanceId, and device | Maximum, Minimum, and Average |
(Agent)disk.write.iops_device | The number of write requests that the disk receives per second. | Requests/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 for C++.
- 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.