Added IopsInProgress to diskio stats (#2037)

* Export IopsInProgress

* Export IopsInProgress

* Export IopsInProgress
This commit is contained in:
leplan73 2016-11-16 14:16:16 +01:00 committed by Cameron Sparr
parent 196509cc53
commit 81004c808f
1 changed files with 8 additions and 7 deletions

View File

@ -138,6 +138,7 @@ func (s *DiskIOStats) Gather(acc telegraf.Accumulator) error {
"read_time": io.ReadTime,
"write_time": io.WriteTime,
"io_time": io.IoTime,
"iops_in_progress": io.IopsInProgress,
}
acc.AddCounter("diskio", fields, tags)
}