Prometheus exporter for TravisCI builds and jobs. Useful for tracking and monitoring your organizations CI/CD timings.
Metric Name | Type | Description |
---|---|---|
travisci_job_duration_seconds |
Gauge | Duration of jobs in seconds. |
You can download and run the latest docker image adamdecaf/travisci_exporter
from the Docker Hub.
Then you can run the Docker image:
$ docker run adamdecaf/travisci_exporter:0.2.0 -config.file config.toml
travisci_exporter reads a YAML config file like the following, but you'll need to download an API token.
organizations:
- name: adamdecaf
token: "fill-me-in"
org: true # Required for orgs still on travis-ci.org
- name: moov-io
token: "other-token"
If you find a bug, have a question or want more metrics exposed feel free to open either an issue or a Pull Request. I'll try and review it quickly and have it merged.
You can build the sources with make build
. Currently we require Go 1.11.