收集 Amazon EBS NVMe 驱动程序指标 - Amazon CloudWatch
Amazon Web Services 文档中描述的 Amazon Web Services 服务或功能可能因区域而异。要查看适用于中国区域的差异,请参阅 中国的 Amazon Web Services 服务入门 (PDF)

收集 Amazon EBS NVMe 驱动程序指标

若需让 CloudWatch 代理从 Amazon Linux 服务器收集 Amazon EBS NVMe 驱动程序指标,请在 CloudWatch 代理配置文件的 metrics_collected 部分添加 diskio 部分。

此外,CloudWatch 代理二进制文件需要具备针对 NVMe 驱动程序设备的 ioctl,以便从已附加的 Amazon EBS 卷收集指标。

可以收集以下指标。

指标 CloudWatch 的指标名称 描述

ebs_total_read_ops

diskio_ebs_total_read_ops

已完成的读取操作总数。

ebs_total_write_ops

diskio_ebs_total_write_ops

已完成的写入操作总数。

ebs_total_read_bytes

diskio_ebs_total_read_bytes

传输的读取字节总数。

ebs_total_write_bytes

diskio_ebs_total_write_bytes

传输的写入字节总数。

ebs_total_read_time

diskio_ebs_total_read_time

所有已完成读取操作的总耗时(单位:微秒)。

ebs_total_write_time

diskio_ebs_total_write_time

所有已完成写入操作的总耗时(单位:微秒)。

ebs_volume_performance_exceeded_iops

diskio_ebs_volume_performance_exceeded_iops

IOPS 需求超出存储卷预调配 IOPS 性能的总时长(单位:微秒)。

ebs_volume_performance_exceeded_tp

diskio_ebs_volume_performance_exceeded_tp

吞吐量需求超出存储卷预配置吞吐量性能的总时长(单位:微秒)。

ebs_ec2_instance_performance_exceeded_iops

diskio_ebs_ec2_instance_performance_exceeded_iops

EBS 卷超出所附加的 Amazon EC2 实例最大 IOPS 性能的总时长(单位:微秒)。

ebs_ec2_instance_performance_exceeded_tp

diskio_ebs_ec2_instance_performance_exceeded_tp

EBS 卷超出所附加的 Amazon EC2 实例最大吞吐量性能的总时长(单位:微秒)。

ebs_volume_queue_length

diskio_ebs_volume_queue_length

待完成的读取与写入操作的数量。