How to find waiting time of a job to be taken up for execution in a runner?
Problem to solve
In large scale applications with pipelines spanning more than an hour and having hundreds of developers, availability of runners is a problem. And to ascertain the availability of a pipeline, it is important that we know the waiting time of each job.
Waiting time : The duration between when a job is triggered for execution and the start of execution of the job. When the runners are busy executing other jobs, other jobs wait for execution.
GitLab Jobs API, give 2 properties called "created_time" and "started_time" which seem to solve the purpose. But there is no documentation to define what those properties actually convey.
Can this be used to ascertain the waiting time?