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

For information about the performance of different disk categories, see EBS performance. Disk performance can be measured by using the following metrics:
  • 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.
You can view the monitoring data of disks in the ECS console or view the monitoring metrics such as usage, IOPS, and throughput of disks in the CloudMonitor console.

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.

  1. Log on to the ECS console.
  2. In the left-side navigation pane, choose Storage & Snapshots > Disks.
  3. In the top navigation bar, select a region.
  4. Find the disk whose monitoring data you want to view and click the disk ID to go to the Disk Details tab.
  5. Click the Disk Monitoring Information tab.
  6. In the Monitoring Information section, click the Disk monitoring Information icon to specify the beginning and end of the time range to query.
    Disk monitoring Information
  7. View the IOPS and throughput data of the disk. You can click an individual chart to view the data of each metric.
    IOPS and Throughput

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.

  1. Log on to the CloudMonitor console.
  2. Install the CloudMonitor agent. For more information, see Install and uninstall the CloudMonitor agent for C++.
  3. View the monitoring data of a disk.
    1. In the left-side navigation pane, click Host Monitoring.
    2. In the instance list, find the instance whose disk metrics you want to view and click the name of the instance in the Host Name/ID column.
    3. On the Host Monitoring page, click the OS Monitoring tab.
    4. In the Disk Metric section, view the monitoring data of a disk that is attached to the instance.
      CloudMonitor
  4. 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.