Merge pull request #432 from joehandzik/wip-zfs-zfetchstats
Update ZFS Collector with most non-zpool metrics
This commit is contained in:
commit
71362d45eb
11 changed files with 736 additions and 316 deletions
13
collector/fixtures/proc/spl/kstat/zfs/dmu_tx
Normal file
13
collector/fixtures/proc/spl/kstat/zfs/dmu_tx
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
5 1 0x01 11 528 8010436841 354962070418194
|
||||
name type data
|
||||
dmu_tx_assigned 4 3532844
|
||||
dmu_tx_delay 4 0
|
||||
dmu_tx_error 4 0
|
||||
dmu_tx_suspended 4 0
|
||||
dmu_tx_group 4 0
|
||||
dmu_tx_memory_reserve 4 0
|
||||
dmu_tx_memory_reclaim 4 0
|
||||
dmu_tx_dirty_throttle 4 0
|
||||
dmu_tx_dirty_delay 4 0
|
||||
dmu_tx_dirty_over_max 4 0
|
||||
dmu_tx_quota 4 0
|
||||
6
collector/fixtures/proc/spl/kstat/zfs/fm
Normal file
6
collector/fixtures/proc/spl/kstat/zfs/fm
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
0 1 0x01 4 192 8007255140 354329591145385
|
||||
name type data
|
||||
erpt-dropped 4 18
|
||||
erpt-set-failed 4 0
|
||||
fmri-set-failed 4 0
|
||||
payload-set-failed 4 0
|
||||
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
|
||||
8
collector/fixtures/proc/spl/kstat/zfs/xuio_stats
Normal file
8
collector/fixtures/proc/spl/kstat/zfs/xuio_stats
Normal 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
|
||||
13
collector/fixtures/proc/spl/kstat/zfs/zfetchstats
Normal file
13
collector/fixtures/proc/spl/kstat/zfs/zfetchstats
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
4 1 0x01 11 528 8010434610 345692669858836
|
||||
name type data
|
||||
hits 4 7067992
|
||||
misses 4 11
|
||||
colinear_hits 4 0
|
||||
colinear_misses 4 11
|
||||
stride_hits 4 7067990
|
||||
stride_misses 4 0
|
||||
reclaim_successes 4 0
|
||||
reclaim_failures 4 11
|
||||
streams_resets 4 0
|
||||
streams_noresets 4 2
|
||||
bogus_streams 4 0
|
||||
15
collector/fixtures/proc/spl/kstat/zfs/zil
Normal file
15
collector/fixtures/proc/spl/kstat/zfs/zil
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
7 1 0x01 13 624 8012538347 351689526932992
|
||||
name type data
|
||||
zil_commit_count 4 10
|
||||
zil_commit_writer_count 4 0
|
||||
zil_itx_count 4 0
|
||||
zil_itx_indirect_count 4 0
|
||||
zil_itx_indirect_bytes 4 0
|
||||
zil_itx_copied_count 4 0
|
||||
zil_itx_copied_bytes 4 0
|
||||
zil_itx_needcopy_count 4 0
|
||||
zil_itx_needcopy_bytes 4 0
|
||||
zil_itx_metaslab_normal_count 4 0
|
||||
zil_itx_metaslab_normal_bytes 4 0
|
||||
zil_itx_metaslab_slog_count 4 0
|
||||
zil_itx_metaslab_slog_bytes 4 0
|
||||
Loading…
Add table
Add a link
Reference in a new issue