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

New option to filter the plugins to run at startup #106

Merged
merged 4 commits into from Aug 11, 2015
Merged

New option to filter the plugins to run at startup #106

merged 4 commits into from Aug 11, 2015

Conversation

zepouet
Copy link
Contributor

@zepouet zepouet commented Aug 11, 2015

Hello,

I just add a new option to filter plugins to enable at startup.

In the future, we will have a lot of plugins into all.go and into config.toml.
A solution would be to have many differents config files.
Another one could be to use this option to filter the plugins.

telegraf --config telegraf.toml -filter mysql:redis

Maybe I am wrong but If I want to use the same config file and activate only one plugin, the filter option could be nice. Else I must duplicate config file and delete other plugin to disable them.
The config file share common configuration so it is nice to avoid to duplicate it.

Thanks for reading this PR.

Nicolas

@sparrc
Copy link
Contributor

sparrc commented Aug 11, 2015

@zepouet thanks! this look like a useful addition,

please rebase your changes with influxdb/telegraf and fix the gofmt issues

sparrc added a commit that referenced this pull request Aug 11, 2015
New option to filter the plugins to run at startup
@sparrc sparrc merged commit af64799 into influxdata:master Aug 11, 2015
sparrc added a commit that referenced this pull request Aug 11, 2015
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

Successfully merging this pull request may close these issues.

None yet

2 participants