Skip to content

Comcast/telegraf-buildpack

Cloud Foundry Telegraf Buildpack

A Cloud Foundry buildpack to run InfluxData Telegraf as an application in Cloud Foundry.

Building the Buildpack

  1. Make sure you have fetched submodules

    git submodule update --init
  2. Get latest buildpack dependencies

    BUNDLE_GEMFILE=cf.Gemfile bundle install
  3. Build the buildpack

    BUNDLE_GEMFILE=cf.Gemfile bundle exec buildpack-packager --cached --any-stack

Use in Cloud Foundry

Upload the buildpack to your Cloud Foundry and optionally specify it by name

cf create-buildpack telegraf_buildpack telegraf_buildpack.zip 1
cf push my_app -b telegraf_buildpack