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

Validate stack modules' metricsets when xpack.enabled = true #12386

Merged
merged 6 commits into from
Jun 4, 2019

Conversation

ycombinator
Copy link
Contributor

Resolves #12327.

When the elasticsearch or kibana metricbeat modules are enabled and the xpack.enabled flag in the module configuration is set to true, an exact set of metricsets is required to be configured for Stack Monitoring to work correctly. This PR implements the necessary validation.

@elasticmachine
Copy link
Collaborator

Pinging @elastic/stack-monitoring

Copy link
Member

@ruflin ruflin left a comment

Choose a reason for hiding this comment

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

Nice way of validating it 👍

Do you want to add a changelog entry for it?

@ycombinator
Copy link
Contributor Author

jenkins, test this

@ycombinator
Copy link
Contributor Author

ycombinator commented Jun 4, 2019

@cachedout I addressed your comment from the previous round of review. Mind re-reviewing this PR?

@ycombinator
Copy link
Contributor Author

jenkins, test this

ycombinator added a commit that referenced this pull request Jun 5, 2019
…12386) (#12430)

* Checking validity of elasticsearch module with xpack.enabled

* Refactoring: extracting validation function

* Make the hound happy

* More generic comment language

* Implement validation for kibana module

* Adding CHANGELOG entry
ycombinator added a commit that referenced this pull request Jun 5, 2019
…12386) (#12431)

* Validate stack modules' metricsets when xpack.enabled = true (#12386)

* Checking validity of elasticsearch module with xpack.enabled

* Refactoring: extracting validation function

* Make the hound happy

* More generic comment language

* Implement validation for kibana module

* Adding CHANGELOG entry

* Fixing up CHANGELOG
ycombinator added a commit that referenced this pull request Jun 5, 2019
…12386) (#12429)

* Checking validity of elasticsearch module with xpack.enabled

* Refactoring: extracting validation function

* Make the hound happy

* More generic comment language

* Implement validation for kibana module

* Adding CHANGELOG entry
andrewvc pushed a commit to andrewvc/beats that referenced this pull request Jun 12, 2019
…#12386)

* Checking validity of elasticsearch module with xpack.enabled

* Refactoring: extracting validation function

* Make the hound happy

* More generic comment language

* Implement validation for kibana module

* Adding CHANGELOG entry
@ycombinator ycombinator removed the needs_backport PR is waiting to be backported to other branches. label Jan 15, 2020
leweafan pushed a commit to leweafan/beats that referenced this pull request Apr 28, 2023
…lastic#12386) (elastic#12429)

* Checking validity of elasticsearch module with xpack.enabled

* Refactoring: extracting validation function

* Make the hound happy

* More generic comment language

* Implement validation for kibana module

* Adding CHANGELOG entry
leweafan pushed a commit to leweafan/beats that referenced this pull request Apr 28, 2023
…lastic#12386) (elastic#12430)

* Checking validity of elasticsearch module with xpack.enabled

* Refactoring: extracting validation function

* Make the hound happy

* More generic comment language

* Implement validation for kibana module

* Adding CHANGELOG entry
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.

Validate metricsets with xpack.enabled is set to true
5 participants