Document active_runners as a Sidekiq metric
What does this MR do and why?
Document active_runners as a Sidekiq metric
This Prometheus metric was documented as a regular metric, but it is exported by Sidekiq and it needs more setup to be available.
- defined at: https://gitlab.com/gitlab-org/gitlab/-/blob/1ab9d4233645b496fcd714de76d986c07455da1f/lib/gitlab/ci/queue/metrics.rb#L223-232
- intermediary step: https://gitlab.com/gitlab-org/gitlab/-/blob/1ab9d4233645b496fcd714de76d986c07455da1f/lib/gitlab/ci/queue/metrics.rb#L122-126
- intermediary step: https://gitlab.com/gitlab-org/gitlab/-/blob/1ab9d4233645b496fcd714de76d986c07455da1f/app/services/ci/update_build_queue_service.rb#L104
- called from Sidekiq: https://gitlab.com/gitlab-org/gitlab/-/blob/1ab9d4233645b496fcd714de76d986c07455da1f/app/workers/build_queue_worker.rb#L17
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
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.
Edited by Marius Bobin