Can I run telegraf as just a regular ol' application and pass config via env vars?
tl;dr
, yes you can, and the magic is vcap_squash
As per this github issue, we won't be able to parse the VCAP_SERVICES
without running a script first. So telegraf-env-in-user-provided-service.confg
won't work without first pre-processing the *.conf
to expand out variable references.
For each of the examples/
perform a cf push
from within that folder.
- telegraf environment variables
- github issue about hiding passwords in telegraf config
- limited use of the telegraf buildpack, cool and interesting but also seems like a very specific telegraf use-case
- vcap_squash