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

Update metricbeat full config to have all modules disabled #4049

Merged
merged 1 commit into from
Apr 21, 2017

Conversation

ruflin
Copy link
Contributor

@ruflin ruflin commented Apr 19, 2017

Currently modules in the full config were disabled by commenting it out. Unfortunately we were not very consistent in the commenting style and some were missing the comments which enabled some of the modules.

Having the configs commented out also meant they are commented out in the documentation as the same config files are used to generate the docs.

Only system module has a short config as it is the one enabled by default. For all the other modules I merged removed the short config as we should come up with one as soon as we need it, means it's in the short config. So the full config files for the modules were removed and merged into the short one.

This change in the full config will also simplify copy / paste of config options for adding it to the short config. Only thing that has to be changed is the enabled flag.

Experimental log message and note are now added to each new metricset by default.

@ruflin ruflin force-pushed the uncomment-module-configs branch from a5e9e13 to 23193a9 Compare April 19, 2017 12:10
Copy link
Member

@andrewkroh andrewkroh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@monicasarbu
Copy link
Contributor

@ruflin #4038 is merged now, can you please rebase?

@ruflin ruflin force-pushed the uncomment-module-configs branch from 23193a9 to 7395655 Compare April 20, 2017 12:20
@ruflin
Copy link
Contributor Author

ruflin commented Apr 20, 2017

@monicasarbu Rebased

@ruflin ruflin force-pushed the uncomment-module-configs branch from 7395655 to a20e8f2 Compare April 20, 2017 14:08
Currently modules in the full config were disabled by commenting it out. Unfortunately we were not very consistent in the commenting style and some were missing the comments which enabled some of the modules.

Having the configs commented out also meant they are commented out in the documentation as the same config files are used to generate the docs.

Only system module has a short config as it is the one enabled by default. For all the other modules I merged removed the short config as we should come up with one as soon as we need it, means it's in the short config. So the full config files for the modules were removed and merged into the short one.

This change in the full config will also simplify copy / paste of config options for adding it to the short config. Only thing that has to be changed is the enabled flag.

Experimental log message and note are now added to each new metricset by default.
@ruflin ruflin force-pushed the uncomment-module-configs branch from a20e8f2 to a425890 Compare April 20, 2017 14:15
@ruflin ruflin mentioned this pull request Apr 21, 2017
3 tasks
@monicasarbu monicasarbu merged commit 1b4c2d7 into elastic:master Apr 21, 2017
@monicasarbu monicasarbu deleted the uncomment-module-configs branch April 21, 2017 07:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants