-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Sample config should have all non-system plugins disabled by default #199
Comments
that's a good idea, I already did this for the .deb and .rpm package default config for the same reason |
@pauldix I came up with a different solution while I was working on a filtering change. See PR #217, this will allow users to specify the plugins and outputs they want when they generate the config file, like:
Also, when installing from the deb/rpm package, only influxdb and a few of the system plugins are enabled by default |
closing this as fixed by the |
Will it still output all the other plugin configs commented out or disabled? It's helpful for users to have that in there rather than having to know all of the plugin names that exist so that they can put them in the command line when generating the file. |
It won't, but maybe I could make an option to list them more succinctly? The reason I say that is because the default sample config is getting pretty huge, and is only going to get bigger |
That's fine if it's huge, it's just a text file. Check the config for Redis: http://download.redis.io/redis-stable/redis.conf That one is big too, but I think it's the gold standard for example config files. Tons of comments so that the user can just look at the config file without having to jump to documentation to figure out what to do. Better to have everything there, rather than forcing the user to go to the documentation or generate another temp config to see how things are supposed to work. |
okay, re-opening |
For the generated sample config all plugins that aren't the system plugin should be disabled. It's painful for a new user setting up Telegraf initially to have to go through and disable all the plugins since they're most likely only going to have one or two they want to use.
The text was updated successfully, but these errors were encountered: