Is there a way to get a list of all jobs across all projects, like the admin panel, in a machine-readable fashion? Looking to build a physical indicator and hoping I don’t need to resort to screen-scraping.
The metrics sent to Prometheus include statistics about jobs. If you’re using the omnibus package, turn on the gitlab monitor.
The gitlab-monitor project has more information. However, in my initial experiments, it was only giving me
ci_stale_builds, but was sending more to prometheus.