Jenkins exporter for prometheus.io, written in python.
This exporter is based on Robust Perception's python exporter example: For more information see (http://www.robustperception.io/writing-a-jenkins-exporter-in-python)
jenkins_exporter.py [-h] [-j jenkins] [--user user]
[--password password] [-p port]
optional arguments:
-h, --help show this help message and exit
-j jenkins, --jenkins jenkins
server url from the jenkins api
--user user jenkins api user
--password password jenkins api password
-p port, --port port Listen to this port
docker run -d -p 9118:9118 lovoo/jenkins_exporter:latest -j http://jenkins:8080 -p 9118
git clone git@github.com:lovoo/jenkins_exporter.git
cd jenkins_exporter
pip install -r requirements.txt
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request