Capture and report telemetry (CPU/memory/disk/network) from Buildkite jobs.
Metrics are collected with dstat
on 10 second intervals and added to the job log
at the end of the job.
Add the following to your pipeline.yml
:
steps:
- command: ./run_build.sh
plugins:
- planetscale/telemetry#v0.0.7: {}
The are no configuration options at this time.
To run the linters:
make lint
To run the tests:
make test
A new version is automatically released on all main branch merges. We use autotag to generate tags. Autotag can be configured via commit messages. By default, it will increment the patch version. To increment the minor or major version, include [minor] or [major] in the first line of a commit message.
- Fork the repo
- Make changes
- Run the tests
- Commit and push your changes
- Send a pull request
This should be rewritten as a standalone app with a nicer summary and graphs attached
to the job via buildkite-agent annotate
. For now, the 10-second interval output of
dstat
is good enough.
Inspiration: https://github.com/catchpoint/workflow-telemetry-action