Open nagonzalez opened 10 months ago
II believe this also may mitigate issue here: https://github.com/perforce/p4prometheus/issues/37
Here's some sample telemetry captured:
grep 'blocked by pid' /p4/1/logs/monitor_metrics.log
2024-01-24 20:47:01 pid 134136, user service-account, cmd client, table None, blocked by pid 134022, user user1, cmd sync, args t:\depot\...#head
2024-01-24 20:47:01 pid 134135, user service-account, cmd client, table None, blocked by pid 134022, user user1, cmd sync, args t:\depot\...#head
2024-01-24 20:47:01 pid 134136, user service-account, cmd client, table None, blocked by pid 134022, user user1, cmd sync, args t:\depot\...#head
2024-01-24 20:47:01 pid 134135, user service-account, cmd client, table None, blocked by pid 134022, user user1, cmd sync, args t:\depot\...#head
Hi - can you also update the test harness please? test_monitor_metrics.py
yeah, definitely. Lemme' take a look. I'll reach out if I have any questions.
@rcowham : test harness updated.
I guess better said, the harness already had good sample data but tests weren't passing. monitor_metrics.py
was updated to make tests pass
Can you check against latest - should have merged this in effectively, including the use of "sudo" where possible to improve output.
This PR supports collecting
lslocks
lock data even when path is null. These changes were validated on the following systems:lslocks
output from Rocky 8.xlslocks
output on CentOS 7.xsample output in
/p4/1/logs/monitor_metrics.log