Open codebru opened 6 years ago
multiple config files in a folder could help protect the password ( i.e. we do not commit the password conf file) https://github.com/influxdata/telegraf/blob/master/docs/CONFIGURATION.md
Also environment variables could work but some argue that it's not suitable for auto restart services. https://github.com/influxdata/telegraf/issues/3124
Saw a friend using ansible template compose and injecting secrets into configuration.
coderbunker/prometheus-playground#2
Here has the similar problem need to be solve, Would love to learn.
Investigate ways/benefits to generating telegraf configs
Questions: Is there a benefit to autogenerating the configs? How can usernames and passwords be handled?