Overview of shared gitlab-runner usage
Description
Background
In the available runner features today, we have yet to incorporate many metrics. In both the admin and group runners views, we have a status overview of your runners (# online, offline, stale, with upgrades recommended, with upgrades available). We also provide the projects or groups that the runner is assigned to (when you view details of a group or project runner). In the admin view, we have a list of jobs that the runner has run (when you click into the runner, you can see this). In the projects view, we have none of these "overviews". Our next direction is to move into monitoring your runners, beginning with the admin view. This includes things like understanding the estimated time it will take for a runner to pick up a job.
We don't have any way to be able to see if the runner is "running" a job at the moment (related issue), nor the ability to see how many it is running at once, or even what concurrency is set at (related issue). We also don't provide any metrics of where runners are used the most (in relation to which projects or groups).
Details
- If you have a bunch of shared runners, it would be helpful to get an overview about their usage, this is interesting for gitlab Admins as well as users.
- We currently have 6 VMs running
gitlab-ci-multi-runnerindockermode, each of which have two "concurrent" executors.
~"feature proposal" ~CI
Proposal
- Given I have at least
masterrole in a project when I navigate to the runners' page of a project (e.g. https://gitlab.example.com/GROUPNAME/PROJECTNAME/runners) then I want to see some statistics about their usage. - Given I am a GitLab admin when I navigate to the runners' page (e.g. https://gitlab.example.com/admin/runners) then I want to see some more statistics (e.g. number of concurrent executors, "load" (e.g. median of used executors/concurrent in the last hour, the last day, the last week)).

