Skip to content

Make CI/CD job queuing metrics generally available

What does this MR do and why?

This adds various Prometheus metrics related to CI/CD job queueing, such as how long jobs wait until getting picked up by a runner.

The metrics were introduced behind the feature flag gitlab_ci_builds_queuing_metrics, which was disabled by default. This feature flag has been enabled on GitLab.com for a long time and the metrics are in active use on GitLab.com.

See #350888 (closed)

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Hordur Freyr Yngvason

Merge request reports

Loading