ZFS Collector: Add vdev_cache_stats functionality
Signed-Off-By: Joe Handzik <joseph.t.handzik@hpe.com>
This commit is contained in:
parent
a02ca9502c
commit
3c9e779989
5 changed files with 72 additions and 4 deletions
|
|
@ -2383,6 +2383,15 @@ node_zfsFetch_stride_hits 7.06799e+06
|
|||
# HELP node_zfsFetch_stride_misses kstat.zfs.misc.zfetchstats.stride_misses
|
||||
# TYPE node_zfsFetch_stride_misses untyped
|
||||
node_zfsFetch_stride_misses 0
|
||||
# HELP node_zfsVdevCache_delegations kstat.zfs.misc.vdev_cache_stats.delegations
|
||||
# TYPE node_zfsVdevCache_delegations untyped
|
||||
node_zfsVdevCache_delegations 40
|
||||
# HELP node_zfsVdevCache_hits kstat.zfs.misc.vdev_cache_stats.hits
|
||||
# TYPE node_zfsVdevCache_hits untyped
|
||||
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_zfsZil_zil_commit_count kstat.zfs.misc.zil.zil_commit_count
|
||||
# TYPE node_zfsZil_zil_commit_count untyped
|
||||
node_zfsZil_zil_commit_count 10
|
||||
|
|
|
|||
5
collector/fixtures/proc/spl/kstat/zfs/vdev_cache_stats
Normal file
5
collector/fixtures/proc/spl/kstat/zfs/vdev_cache_stats
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
8 1 0x01 3 144 8012540758 352116106118781
|
||||
name type data
|
||||
delegations 4 40
|
||||
hits 4 0
|
||||
misses 4 0
|
||||
Loading…
Add table
Add a link
Reference in a new issue