Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Autogenerate Telegraph Configs #15

Open
codebru opened this issue Nov 27, 2018 · 2 comments
Open

Autogenerate Telegraph Configs #15

codebru opened this issue Nov 27, 2018 · 2 comments

Comments

@codebru
Copy link
Member

codebru commented Nov 27, 2018

Investigate ways/benefits to generating telegraf configs

Questions:
Is there a benefit to autogenerating the configs?
How can usernames and passwords be handled?

@lenzai
Copy link
Member

lenzai commented Nov 27, 2018

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.
influxdata/telegraf#3124

@lenzai lenzai assigned xuyuji9000 and unassigned xuyuji9000 Nov 27, 2018
@xuyuji9000
Copy link
Member

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.

@Lotok Lotok assigned Lotok and unassigned Lotok Oct 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants