Comments (4)
👋 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.
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.
@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.
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)
- failed to build resolver: invalid (non-empty) authority: gcpe-monitor.sock
- Helm Not updated with new image
- Unable to get GCPE to display non master/main branches on Grafana dashboard HOT 1
- Is it possible to have the name (or at least the source branch) for merge-requests refs ?
- Missing job metrics (enabled in config) HOT 3
- api call limit and remaining == 0
- service port hardcoded HOT 1
- Add support for redis sentinel
- Fail to pull project pipeline - unexpected EOF HOT 1
- Can we have configuration to also display Merge Request Pipelines to be available in Dashboard?
- Multiple job status are exported at the same time for one job HOT 2
- gitlab-ci-pipelines-exporter "freeze" when gitlab is updated (docker-compose)
- Webhooks not working with helm in kubernetes: * not configured in the exporter
- Configuration changes on the fly
- Many pipelines not displayed
- How can I export data from a specific group in GitLab?
- Example dashboards not working as expected HOT 1
- pulling metrics from all branches HOT 1
- Investigate Why gitlab_ci_pipeline_run_count Metric Shows Value of 0
- request to /api/v4/projects/ with header access_token returns []
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gitlab-ci-pipelines-exporter.