mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
metrics: change r/wchar to read/write_bytes
This commit is contained in:
parent
aadcb88675
commit
8699573274
1 changed files with 2 additions and 2 deletions
|
|
@ -63,9 +63,9 @@ func ReadDiskStats(stats *DiskStats) error {
|
||||||
stats.ReadCount = value
|
stats.ReadCount = value
|
||||||
case "syscw":
|
case "syscw":
|
||||||
stats.WriteCount = value
|
stats.WriteCount = value
|
||||||
case "rchar":
|
case "read_bytes":
|
||||||
stats.ReadBytes = value
|
stats.ReadBytes = value
|
||||||
case "wchar":
|
case "write_bytes":
|
||||||
stats.WriteBytes = value
|
stats.WriteBytes = value
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue