Sign inSign up

codefabrik/jenkins_exporter

By codefabrik

Updated over 8 years ago

A Prometheus exporter for Jenkins CI.

Image
0

122

codefabrik/jenkins_exporter repository overview

This image collects statics from the Jenkins API and exports them in the Prometheus format.

Usage

The service starts a server the serves the metrics under http://localhost:9103/metrics by default.

Parameter

ParameterTypeDescription
jenkins.addressstring Address where to reach Jenkins
jenkins.passwordstringPassword to authenticate on Jenkins
jenkins.usernamestringUsername to authenticate on Jenkins
log.formatvalueSet the log target and format. Example: "logger:syslog?appname=bob&local=7" or "logger:stdout?json=true" (default "logger:stderr")
log.levelvalueOnly log messages with the given severity or above. Valid levels: [debug, info, warn, error, fatal] (default "info")
versionstringPrint version information
web.listen-addressstringAddress to listen on for web interface and telemetry (default ":9103")
web.telemetry-pathstringPath to expose metrics of the exporter (default "/metrics")

Docker Run

Docker Compose

jenkins-exporter:
    restart: always
    image: codefabrik/jenkins-exporter
    command: --jenkins.address="http://your-jenkins" --jenkins.username="jenkins" --jenkins.password="password"
    ports:
      - "9103:9103"

Metrics

Source Code

Tag summary

Content type

Image

Digest

Size

4.4 MB

Last updated

over 8 years ago

docker pull codefabrik/jenkins_exporter