gopsutil, fix /proc/pid/io naming issue

closes #1584
This commit is contained in:
Cameron Sparr
2016-08-05 09:51:20 +01:00
parent 4bc6fdb09e
commit b55e9e78e3
3 changed files with 3 additions and 2 deletions

View File

@@ -71,7 +71,7 @@ func (p *SpecProcessor) pushMetrics() {
fields[prefix+"read_count"] = io.ReadCount
fields[prefix+"write_count"] = io.WriteCount
fields[prefix+"read_bytes"] = io.ReadBytes
fields[prefix+"write_bytes"] = io.WriteCount
fields[prefix+"write_bytes"] = io.WriteBytes
}
cpu_time, err := p.proc.Times()