Giter VIP home page Giter VIP logo

Comments (6)

mvisonneau avatar mvisonneau commented on July 26, 2024

👋 @cobra1978, have you tried to run it with --log-level debug ? Are you not seeing any metrics either ? 🤔

from gitlab-ci-pipelines-exporter.

 avatar commented on July 26, 2024

I'm running the docker image, and even with log level debug.

The prometheus configuration is right because it sees the target and give me scrape duration with no errors.

In the exporter logs i see only lines about projects, about some projects without master branch ore pipleines, butt this is ok, not all of our project had pipelines, but nothing about founded pipelines and no error.

from gitlab-ci-pipelines-exporter.

 avatar commented on July 26, 2024

Can you tell me what privileges the user used to retrieve data need to have, i think the problem is here.

from gitlab-ci-pipelines-exporter.

mvisonneau avatar mvisonneau commented on July 26, 2024

You need the read_repository scope with at least guest or reporter permissions on the project. If you are using a wilcard, you probably need at least guest or reporter on the group your are pointing to as well. I believe that for user wildcards, you need to have a token issued by this user.

from gitlab-ci-pipelines-exporter.

 avatar commented on July 26, 2024

Ok, created a new user with right privileges and it seems to work, but in the grafana dasboard there is an error:

some metrics are gitlab_ci_pipeline_status bu they should be gitlab_ci_pipeline_last_run_status

You can close the issue.

from gitlab-ci-pipelines-exporter.

mvisonneau avatar mvisonneau commented on July 26, 2024

indeed, the dashboard in the repo is up to date but not the one on grafana.com

from gitlab-ci-pipelines-exporter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.