Hi,
I'm looking to get our nfsiostat
information in metricbeat, but the documentation is bit overwhelming.
I would like to use the diskio logic, but I'm not sure this is the right way to go, because:
- diskio is using https://github.com/shirou/gopsutil/tree/master/disk, which doesn't has support for nfs
- the fields don't really match
iostat -x sdb
Device r/s w/s rkB/s wkB/s rrqm/s wrqm/s %rrqm %wrqm r_await w_await aqu-sz rareq-sz wareq-sz svctm %util
sdb 0.00 0.15 0.02 1.43 0.00 0.06 0.07 27.56 0.85 1.35 0.00 20.59 9.65 0.36 0.01
vs
nfsiostat /mount/nfs
ops/s rpc bklog
1208.935 0.000
read: ops/s kB/s kB/op retrans avg RTT (ms) avg exe (ms)
58.570 1612.577 27.532 2 (0.0%) 1.651 1.941
write: ops/s kB/s kB/op retrans avg RTT (ms) avg exe (ms)
17.569 493.741 28.103 0 (0.0%) 3.723 13.969
Do I start a completely new metricset (like https://www.elastic.co/guide/en/beats/metricbeat/current/metricbeat-metricset-system-diskio.html): "nfsio" ?