A Bitrise step that runs the Telegraf metrics collector agent in the background.
Metrics are written to $BITRISE_DEPLOY_DIR/metrics.out
(by default) in InfluxDB line protocol format. Place this step at the beginning of a workflow, then a Deploy to Bitrise.io step at the end, so you can download metrics.out
as an artifact.
By default, the following metrics are collected:
Include as a custom step in your bitrise.yml
:
steps:
- git::https://github.com/ofalvai/bitrise-step-telegraf-metrics-agent.git@master:
You need to add this manually to the bitrise.yml
file, but after saving the file, you can use the workflow editor to tweak the step inputs.
telegraf_conf
: Contents of thetelegraf.conf
file (docs). Seestep.yml
or the Bitrise workflow editor for the default config