mvisonneau / gitlab-ci-pipelines-exporter

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

pulling metrics from all branches #841

Closed Mrsenior12 closed 1 month ago

Mrsenior12 commented 1 month ago

I have following configuration in gitlab-ci-pipeline-exporter.yml

project_defaults:
  pull:
    pipeline:
      jobs:
        enabled: true
  refs:
    branches:
      enable: true

Following configuration fetch metrics only from main branch. Is there a method to fetch all branches from all projects?

Mrsenior12 commented 1 month ago

Issue solved, I was missing indentation in refs keyword. Also my question was already asked https://github.com/mvisonneau/gitlab-ci-pipelines-exporter/issues/248