whamcloud/lustre-collector

Support for mdt recovery status

RDruon opened this issue · 1 comments

RDruon commented

mdt.*.recovery_status:

mdt.ai400x2-MDT0000.recovery_status=
status: COMPLETE
recovery_start: 1687418448
recovery_duration: 26
completed_clients: 3/3
replayed_requests: 0
last_transno: 4294967298
VBR: DISABLED
IR: DISABLED
mdt.ai400x2-MDT0001.recovery_status=status: INACTIVE
RDruon commented

We are already reporting the status but not the following information:

Metric Desc
mdt_recovery_status_completed_clients Gives a count of clients that complete recovery on an MDT.
mdt_recovery_status_connected_clients Gives a count of clients that are connected to an MDT.
mdt_recovery_status_evicted_clients Gives a count of clients that are evicted from an MDT.
ost_recovery_status_completed_clients Gives a count of clients that complete recovery on an OST.
ost_recovery_status_connected_clients Gives a count of clients that are connected to an OST.
ost_recovery_status_evicted_clients Gives a count of clients that are evicted from an OST.