Always include `idle` value in gitlab_runner_jobs Prometheus metric
Release notes
The idle
value is now always returned in the gitlab_runner_jobs Prometheus metric. This solves the problem of GitLab Runner Prometheus metric dashboards having gaps in the data for timestamps when a runner was idle and not processing and CI/CD jobs.
Overview
When we return the metrics we only return the metrics that have values. If they have no values we don't send them at all. This can be problematic for certain systems that depend on those metrics to be present for example HPA.
Edited by Suzanne Selhorn