whamcloud/lustre-collector

Support for ldlm stats

RDruon opened this issue · 1 comments

RDruon commented

ldlm.services.ldlm_canceld.stats:

ldlm.services.ldlm_canceld.stats=
snapshot_time             1688128173.315366356 secs.nsecs
req_waittime              59603991 samples [usec] 2 126327 1052081830 599638663832
req_qdepth                59603991 samples [reqs] 0 440 543132 2720296
req_active                59603991 samples [reqs] 1 23 74019077 118708737
req_timeout               59603991 samples [sec] 15 15 894059865 13410897975
reqbuf_avail              124719951 samples [bufs] 0 96 7953018885 507178796449
ldlm_cancel               59603991 samples [usec] 2 423851 1935368774 14577544737298

ldlm.services.ldlm_cbd.stats:

ldlm.services.ldlm_cbd.stats=
snapshot_time             1688128203.659091594 secs.nsecs
req_waittime              16907325 samples [usec] 2 125718 318294477 117844630683
req_qdepth                16907325 samples [reqs] 0 2 732 738
req_active                16907325 samples [reqs] 1 4 16943867 17017639
req_timeout               16907325 samples [sec] 1 15 253609739 3804145859
reqbuf_avail              33822932 samples [bufs] 0 2 31403991 31404341
ldlm_bl_callback          5236333 samples [usec] 1 162 50267696 520738632
ldlm_cp_callback          11670992 samples [usec] 3 16247 118300681 1764637147

ldlm.namespaces.*.lock_count:

ldlm.namespaces.MGC172.16.240.130@o2ib.lock_count=13
ldlm.namespaces.ai400x2-MDT0000-lwp-MDT0000.lock_count=0
ldlm.namespaces.ai400x2-MDT0000-lwp-OST0000.lock_count=0
ldlm.namespaces.ai400x2-MDT0000-lwp-OST0001.lock_count=0
ldlm.namespaces.ai400x2-MDT0001-lwp-OST0000.lock_count=0
ldlm.namespaces.ai400x2-MDT0001-lwp-OST0001.lock_count=0
ldlm.namespaces.ai400x2-MDT0001-osp-MDT0000.lock_count=0
ldlm.namespaces.ai400x2-MDT0002-lwp-OST0000.lock_count=0
ldlm.namespaces.ai400x2-MDT0002-lwp-OST0001.lock_count=0
ldlm.namespaces.ai400x2-MDT0002-osp-MDT0000.lock_count=0
ldlm.namespaces.ai400x2-MDT0003-lwp-OST0000.lock_count=0
ldlm.namespaces.ai400x2-MDT0003-lwp-OST0001.lock_count=0
ldlm.namespaces.ai400x2-MDT0003-osp-MDT0000.lock_count=0
ldlm.namespaces.ai400x2-OST0000-osc-MDT0000.lock_count=0
ldlm.namespaces.ai400x2-OST0001-osc-MDT0000.lock_count=0
ldlm.namespaces.ai400x2-OST0002-osc-MDT0000.lock_count=0
ldlm.namespaces.ai400x2-OST0003-osc-MDT0000.lock_count=0
ldlm.namespaces.ai400x2-OST0004-osc-MDT0000.lock_count=0
ldlm.namespaces.ai400x2-OST0005-osc-MDT0000.lock_count=0
ldlm.namespaces.ai400x2-OST0006-osc-MDT0000.lock_count=0
ldlm.namespaces.ai400x2-OST0007-osc-MDT0000.lock_count=0
ldlm.namespaces.filter-ai400x2-OST0000_UUID.lock_count=12
ldlm.namespaces.filter-ai400x2-OST0001_UUID.lock_count=10
ldlm.namespaces.mdt-ai400x2-MDT0000_UUID.lock_count=142

ldlm.namespaces.*.lock_timeouts:

ldlm.namespaces.MGC172.16.240.130@o2ib.lock_timeouts=0
ldlm.namespaces.ai400x2-MDT0000-lwp-MDT0000.lock_timeouts=0
ldlm.namespaces.ai400x2-MDT0000-lwp-OST0000.lock_timeouts=0
ldlm.namespaces.ai400x2-MDT0000-lwp-OST0001.lock_timeouts=0
ldlm.namespaces.ai400x2-MDT0001-lwp-OST0000.lock_timeouts=0
ldlm.namespaces.ai400x2-MDT0001-lwp-OST0001.lock_timeouts=0
ldlm.namespaces.ai400x2-MDT0001-osp-MDT0000.lock_timeouts=0
ldlm.namespaces.ai400x2-MDT0002-lwp-OST0000.lock_timeouts=0
ldlm.namespaces.ai400x2-MDT0002-lwp-OST0001.lock_timeouts=0
ldlm.namespaces.ai400x2-MDT0002-osp-MDT0000.lock_timeouts=0
ldlm.namespaces.ai400x2-MDT0003-lwp-OST0000.lock_timeouts=0
ldlm.namespaces.ai400x2-MDT0003-lwp-OST0001.lock_timeouts=0
ldlm.namespaces.ai400x2-MDT0003-osp-MDT0000.lock_timeouts=0
ldlm.namespaces.ai400x2-OST0000-osc-MDT0000.lock_timeouts=0
ldlm.namespaces.ai400x2-OST0001-osc-MDT0000.lock_timeouts=0
ldlm.namespaces.ai400x2-OST0002-osc-MDT0000.lock_timeouts=0
ldlm.namespaces.ai400x2-OST0003-osc-MDT0000.lock_timeouts=0
ldlm.namespaces.ai400x2-OST0004-osc-MDT0000.lock_timeouts=0
ldlm.namespaces.ai400x2-OST0005-osc-MDT0000.lock_timeouts=0
ldlm.namespaces.ai400x2-OST0006-osc-MDT0000.lock_timeouts=0
ldlm.namespaces.ai400x2-OST0007-osc-MDT0000.lock_timeouts=0
ldlm.namespaces.filter-ai400x2-OST0000_UUID.lock_timeouts=0
ldlm.namespaces.filter-ai400x2-OST0001_UUID.lock_timeouts=0
ldlm.namespaces.mdt-ai400x2-MDT0000_UUID.lock_timeouts=0
jgrund commented

We have lock_timeouts and lock_count. I'll add the others.