Overview
Travis CI is a hosted continuous integration service used to build and test software projects. Connect to Travis CI to view metrics about build times, build statuses, jobs, and more.
Setup
Installation
You can install the Travis CI integration with its integration tile.
Configuration
Add your account name, API token (found under the profile tab in Travis CI), and the project type. Project types are determined as follows:
- Open source refers to repositories connected to travis-ci.org
- Private refers to repositories connected to travis-ci.co
- Enterprise refers to repositories connected to a custom Travis CI domain
If the account is under Travis CI enterprise, enter your custom domain.
Add multiple accounts if needed by clicking “Add row”.
Click ‘Install’ (initial installation only).
Add the organization and repositories you want to collect metrics from with the corresponding API key.
To collect metrics for all repositories under an organization, type <ORGANIZATION_NAME>/*
under Project.
Click ‘Update Configuration’.
Data Collected
Metrics
travis_ci.build.duration (gauge) | Duration of builds Shown as second |
travis_ci.build.finished (count) | Count of finished builds Shown as build |
travis_ci.build.num_jobs (count) | Count of jobs Shown as job |
travis_ci.job.duration (gauge) | Duration of jobs Shown as second |
travis_ci.job.finished (count) | Count of finished jobs Shown as job |
travis_ci.job.queued_time (gauge) | Time jobs spent waiting in queue before starting Shown as second |
Events
The Travis CI integration does not include any events.
Service Checks
The Travis CI integration does not include any service checks.
Troubleshooting
Need help? Contact Datadog support.