ZFS Collector: Add xuio_stats functionality

Signed-Off-By: Joe Handzik <joseph.t.handzik@hpe.com>
This commit is contained in:
Joe Handzik 2017-01-23 12:33:35 -06:00
commit 05048c067d
5 changed files with 80 additions and 0 deletions

View file

@ -2392,6 +2392,24 @@ node_zfsVdevCache_hits 0
# HELP node_zfsVdevCache_misses kstat.zfs.misc.vdev_cache_stats.misses
# TYPE node_zfsVdevCache_misses untyped
node_zfsVdevCache_misses 0
# HELP node_zfsXuio_onloan_read_buf kstat.zfs.misc.xuio_stats.onloan_read_buf
# TYPE node_zfsXuio_onloan_read_buf untyped
node_zfsXuio_onloan_read_buf 32
# HELP node_zfsXuio_onloan_write_buf kstat.zfs.misc.xuio_stats.onloan_write_buf
# TYPE node_zfsXuio_onloan_write_buf untyped
node_zfsXuio_onloan_write_buf 0
# HELP node_zfsXuio_read_buf_copied kstat.zfs.misc.xuio_stats.read_buf_copied
# TYPE node_zfsXuio_read_buf_copied untyped
node_zfsXuio_read_buf_copied 0
# HELP node_zfsXuio_read_buf_nocopy kstat.zfs.misc.xuio_stats.read_buf_nocopy
# TYPE node_zfsXuio_read_buf_nocopy untyped
node_zfsXuio_read_buf_nocopy 0
# HELP node_zfsXuio_write_buf_copied kstat.zfs.misc.xuio_stats.write_buf_copied
# TYPE node_zfsXuio_write_buf_copied untyped
node_zfsXuio_write_buf_copied 0
# HELP node_zfsXuio_write_buf_nocopy kstat.zfs.misc.xuio_stats.write_buf_nocopy
# TYPE node_zfsXuio_write_buf_nocopy untyped
node_zfsXuio_write_buf_nocopy 0
# HELP node_zfsZil_zil_commit_count kstat.zfs.misc.zil.zil_commit_count
# TYPE node_zfsZil_zil_commit_count untyped
node_zfsZil_zil_commit_count 10

View file

@ -0,0 +1,8 @@
2 1 0x01 6 288 8009100742 353415816865654
name type data
onloan_read_buf 4 32
onloan_write_buf 4 0
read_buf_copied 4 0
read_buf_nocopy 4 0
write_buf_copied 4 0
write_buf_nocopy 4 0