simplesurance / jenkins-exporter Goto Github PK
View Code? Open in Web Editor NEWExport Jenkins Build Metrics to Prometheus
License: GNU Lesser General Public License v3.0
Export Jenkins Build Metrics to Prometheus
License: GNU Lesser General Public License v3.0
Throttle the number of API requests that are made to retrieve per-stage metrics.
If metrics for a lot of builds are retrieved, sending tons of requests to the jenkins-server in a loop could generate too much load.
Ideally the number of requests are configurable via a parameter.
I had installed ur binary and tried to run it like below
./jenkins-exporter-linux_amd64 -jenkins-url -jenkins-user= -jenkins-password= -jenkins-job-whitelist=
While the server starts, I don't see any entry related to jenkins job
When multiple builds run for the same job, it can happen that build N finishes before build N-1.
If the jenkins-exporter retrieves an unfinished build it removes it from the result, if a following build already has finished, it's build number is recorded as highest seen buildnr and all previous builds are ignored.
This caused that metrics for builds are often not recorded.
Sometimes the result of a build is "success" but some stage statuses are still "in progress".
This causes that metrics for those stages won't be recorded.
This might also cause that the overall runtime metrics for a build are wrong because they are recorded while the build is still running.
A successful build result surprisingly can not be used to determine if a build has finished, find another value that can be queried instead.
It is not an issue but like to know the below
you have any idea about working on total number of builds, successful builds, failed builds and killed builds
it will be helpful for all if you do so
Hi, is there already a dashboard available to visualize the metrics? With grafana for example?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.