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

Set namespace as default metricset in Aerospike module #6669

Merged
merged 1 commit into from
Mar 28, 2018

Conversation

ruflin
Copy link
Member

@ruflin ruflin commented Mar 27, 2018

  • Remove metricset config from short config
  • Document default

@@ -25,7 +25,6 @@ in <<configuration-metricbeat>>. Here is an example configuration:
----
metricbeat.modules:
- module: aerospike
metricsets: ["namespace"]
Copy link
Member Author

Choose a reason for hiding this comment

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

I removed the metricset config from the short config to make it even shorter, but not sure yet if this is a good idea.

Copy link
Member Author

Choose a reason for hiding this comment

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

Working on further modules I realised we should make a decision for each module. If there is only 1 metricset for example, we don't need it. Updated PR accordingly.

@@ -25,8 +25,6 @@ in <<configuration-metricbeat>>. Here is an example configuration:
----
metricbeat.modules:
- module: aerospike
metricsets: ["namespace"]
enabled: false
period: 10s
Copy link
Member

Choose a reason for hiding this comment

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

Personally I'd like to see period: 10s removed too. And only show this in the reference config.

Copy link
Member Author

Choose a reason for hiding this comment

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

SGTM. @jsoriano WDYT, should we clean up the period too (in case we don't set a different default)? Will make things even shorter.

* Remove metricset config from short config
* Document default
@ruflin
Copy link
Member Author

ruflin commented Mar 28, 2018

New version pushed with period removed.

@jsoriano jsoriano merged commit 2b58e4a into elastic:master Mar 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants