metrics: change r/wchar to read/write_bytes

This commit is contained in:
Fynn 2024-03-07 19:48:21 +08:00
parent aadcb88675
commit 8699573274

View file

@ -63,9 +63,9 @@ func ReadDiskStats(stats *DiskStats) error {
stats.ReadCount = value
case "syscw":
stats.WriteCount = value
case "rchar":
case "read_bytes":
stats.ReadBytes = value
case "wchar":
case "write_bytes":
stats.WriteBytes = value
}
}