mvisonneau / gitlab-ci-pipelines-exporter

Prometheus / OpenMetrics exporter for GitLab CI pipelines insights
Apache License 2.0
1.27k stars 240 forks source link

Request directly a Gitlab runner instead of the whole Gitlab app. #752

Open GodefroyClair opened 10 months ago

GodefroyClair commented 10 months ago

As discussed in this issue, the application generates a lot of requests. I am working in a infrastructure where I don't deploy or manage Gitlab and I only deploy Gitlab runners and its environment in a K8S cluster. So I only deploy the gitlab-ci-pipelines-exporter to monitor the pipelines & jobs that are run on the dedicated runner I manage. But even though I deploy the exporter in the same cluster as the runners, the exporter will request the gitlab app API and not directly the runner. I was wondering if it could be possible to request directly a Gitlab runner instead of sending my request to the Gitlab app & its API...