Giter VIP home page Giter VIP logo

Comments (4)

mvisonneau avatar mvisonneau commented on June 27, 2024

👋 Hey @virtuman thanks for raising the issue. I am not sure to understand what you are looking for though? 🤔 at first sight having this kind of label does not seem to be aligned with the prometheus/open metrics philosophy?

from gitlab-ci-pipelines-exporter.

lovelaced avatar lovelaced commented on June 27, 2024

Maybe I can clarify because this sounds like an issue I'm also having. I would like to definitively discern between the status of jobs. Some jobs are still technically "running" but are actually cancelled, or pending. They should not be labeled running indefinitely, they should pick up cancelled/failed labels correctly and ideally establish if there is a paused or pending job in the pipeline to trigger some sort of label in the pipeline like "has_pending_jobs" so they can be filtered out of the running job status, for instance - would be good to see which pipelines are actively running jobs rather than stuck with cancelled/pending.

from gitlab-ci-pipelines-exporter.

spacez320 avatar spacez320 commented on June 27, 2024

@virtuman If you're using Prometheus, this PromQL query would get you Pipeline runtimes while excluding those that are not succeeded.

gitlab_ci_pipeline_last_run_duration_seconds and on (project) gitlab_ci_pipeline_last_run_status{status="success"} == 1

from gitlab-ci-pipelines-exporter.

mvisonneau avatar mvisonneau commented on June 27, 2024

I believe this was also an effect of the jobs refresh errors highlighted in #119 and #150. There was also some errors in the dashboard which I fixed recently. I assume this will be sorted with the 0.4.0 release. Feel free to reopen if not!

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.