-
Improvement
-
Resolution: Unresolved
-
Minor
-
None
We utilize multi-job projects which run downstream jobs on different nodes in parallel.
We monitor the build queue duration of the down stream jobs to track when we need additional build nodes. We also send the queue duration to ELK for metrics/graphs.
We are migrating to pipelines now and looked at the REST /wfapi interface. There is a queueDuration for the overall job but individual stages don't track queueDuration even though they are waiting in the job queue waiting for build nodes to become available.
Can we add a queue duration value for the stage which will track how long it waited for the node to become available?
Also would like to see this.
As a workaround we have added a "Queue" stage around our node block (which basically wraps the entire build). The side effect is that it breaks the Blue Ocean view by only displaying the Queue stage for the build. The classic view still shows all the stages.