磁盘每秒读取速率: node_disk_reads_completed_total 磁盘每秒写入速率: node_disk_writes_completed_total 读时延: rate(node_disk_read_time_seconds_total{instance="my-instance-name"}[1m]) / rate(node_disk_reads_completed_total{instance="my-instance-name"}[1m]) 写时延: rate(node_disk_write_time...
rate(node_disk_io_time_weighted_seconds_total{instance=~"$hostname"}[5m]) 1. 5. 磁盘设备读写延迟 读延迟(ms) rate(node_disk_read_time_seconds_total{instance=~"$hostname"}[5m]) / rate(node_disk_reads_completed_total{instance=~"$hostname"}[5m]) * 1000 写延迟(ms) rate(node_disk_...
* node_disk_io_time_ms -> node_disk_io_time_seconds_total * node_disk_reads_completed -> node_disk_reads_completed_total * node_disk_sectors_written -> node_disk_written_bytes_total * node_time -> node_time_seconds * node_boot_time -> node_boot_time_seconds * node_intr -> node_...
每秒磁盘写入速度: irate(node_disk_written_bytes_total[30m]) 1. 每秒磁盘I/O操作耗费时间计算公式: irate(node_disk_io_time_seconds_total[30m]) 1. 每次I/O读取耗时计算公式: irate(node_disk_read_time_seconds_total[30m]) / irate(node_disk_reads_completed_total[30m]) 1. 每次I/O写入耗时计算...
irate(node_disk_writes_completed_total[30m]) # 每秒磁盘写入速度: irate(node_disk_written_bytes_total[30m]) # 每秒磁盘I/O操作耗费时间计算公式: irate(node_disk_io_time_seconds_total[30m]) # 每次I/O读取耗时计算公式: irate(node_disk_read_time_seconds_total[30m])/irate(node_disk_reads_com...
expr: rate(node_disk_read_time_seconds_total{device=~"sd.*"}[5m]) / rate(node_disk_reads_completed_total{device=~"sd.*"}[5m]) > 0.1 and rate(node_disk_reads_completed_total{device=~"sd.*"}[5m]) > 0 for: 5m labels:
rate(node_disk_read_time_seconds_total{instance=~"$server:.+",device=~"sd[b-m]"}[$interval]) 磁盘write iops rate(node_disk_writes_completed_total{instance=~"$server:.+",device=~"sd[b-m]"}[$interval]) 磁盘写带宽 rate(node_disk_written_bytes_total{instance=~"$server:.+",device=...
node_cpu_seconds_total{cpu="0",mode="nice"} 1.05 node_cpu_seconds_total{cpu="0",mode="softirq"} 302.24 node_cpu_seconds_total{cpu="0",mode="steal"} 0 node_cpu_seconds_total{cpu="0",mode="system"} 3829.27 node_cpu_seconds_total{cpu="0",mode="user"} 4802.39 ...
node_disk_io_now node-exporter node_disk_io_time_seconds_total node-exporter node_disk_io_time_weighted_seconds_total node-exporter node_disk_read_bytes_total node-exporter node_disk_read_time_seconds_total node-exporter node_disk_reads_completed_total ...
-name:DiskI/O报警规则 rules: -alert:DiskIOTimeOut expr:| ( sum(node_disk_io_time_seconds_total{device=~"/dev/.*"}[5m]) / sum(node_disk_io_time_seconds_total{device=~"/dev/.*", operation=~"read|write"}[5m]) ) > 0.03 for:10m labels: severity:page annotations: summary:服务器...