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

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 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.
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 Details page.
  5. In the left-side navigation pane, click Disk Monitoring.
  6. On the Monitoring Information page, click the Monitoring Information icon to specify the beginning and end of the time range to query.
    Monitoring data
  7. View the IOPS and throughput data of the disk. You can click individual charts 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
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.

  1. Log on to the CloudMonitor console.
  2. Install the CloudMonitor agent. For more information, see Install and uninstall the CloudMonitor agent.
  3. View the monitoring data of a disk.
    1. In the left-side navigation pane, click Host Monitoring.
    2. On the Instances tab, click an instance name in the Instancesname/Host Name column.
    3. On the Instance Details page, click the OS Monitoring tab.
    4. In the Disk Metric section, view the monitoring data of a disk 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.