Prometheus Metrics on Runner job elapsed time and job status #2869
Unanswered
rekha-prakash-maersk
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The runner logs have info on the time taken for the job, but I would like to have this as metrics, so I can calculate the total elapsed time across multiple runner for all the tasks, to get a idea of how much overall minutes the self hosted runners have completed.
and metrics on job statuses (success | failed| cancelled...)
2023-09-18 14:22:27Z: Job build completed with result: Failed
[RUNNER 2023-09-18 14:22:27Z INFO Terminal] WRITE LINE: 2023-09-18 14:22:27Z: Job build completed with result: Failed
[RUNNER 2023-09-18 14:22:27Z INFO JobDispatcher] finish job request for job ca395085-040a-526b-2ce8-bdc85f692774 with result: Failed
[RUNNER 2023-09-18 14:22:27Z INFO JobDispatcher] Worker finished for job ca395085-040a-526b-2ce8-bdc85f692774. Code: 102
[RUNNER 2023-09-18 14:22:27Z INFO ProcessInvokerWrapper] Finished process 301 with exit code 102, and elapsed time 00:00:20.8170697.
Any similar in metrics available already ?
Beta Was this translation helpful? Give feedback.
All reactions