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
Contributor

@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
Contributor 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
Contributor 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.

@ruflin ruflin force-pushed the aerospike-default branch from 25d17f2 to 3484d67 Compare March 27, 2018 06:59
@@ -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
Contributor 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 ruflin force-pushed the aerospike-default branch from 3484d67 to f9b66c8 Compare March 28, 2018 09:17
@ruflin
Copy link
Contributor 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