Skip to content

robbybbb/travisci_exporter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

travisci_exporter

Build Status Go Report Card Support via Flattr

Prometheus exporter for TravisCI builds and jobs. Useful for tracking and monitoring your organizations CI/CD timings.

Metrics

Metric Name Type Description
travisci_job_duration_seconds Gauge Duration of jobs in seconds.

Install / Usage

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

Configuration

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"

Developing / Contributing

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.

About

Travis CI Prometheus Exporter

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 86.5%
  • Makefile 8.0%
  • Dockerfile 5.5%