mvisonneau / gitlab-ci-pipelines-exporter

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

Not able to get gitlab_ci_pipeline_job into Prometheus query #886

Open ashukumar0712 opened 2 months ago

ashukumar0712 commented 2 months ago

I am trying to get all job related query into Prometheus, but only getting is
image

My configuration file lokks like

project_defaults:
    output_sparse_status_metrics: true
    pull:
      refs:
        branches:
          enabled: true
          regexp: ".*"
        tags:
          enabled: false
        merge_requests:
          enabled: true
      pipeline:
        jobs:
          enabled: true
          from_child_pipelines:
            enabled: true
        variables:
          enabled: true
selevit commented 2 months ago

Have the same issue, look like job metrics are missing even if enabled in the config.

tjommie commented 1 month ago

I'm experiencing the same issue when I'm deploying via the helm chart. If I go the quickstart route, all ci job metrics are available (the exact same config, projects and token)

Update: see this comment about redis https://github.com/mvisonneau/gitlab-ci-pipelines-exporter/issues/790#issuecomment-2274819665