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

Auto-include node_stats metricset when xpack.enabled: true is set #20613

Conversation

ycombinator
Copy link
Contributor

@ycombinator ycombinator commented Aug 14, 2020

Follow up to #19747. A line of code was accidentally removed in #19747. This PR puts it back.

This line of code ensures that when metricbeat modules enable elasticsearch-xpack is run or, alternatively, when the elasticsearch module is enabled and configured with xpack.enabled: true, the node_stats metricset is automatically enabled for the module. This will ensure that nothing breaks for existing users of the elasticsearch-xpack module.

@elasticmachine
Copy link
Collaborator

Pinging @elastic/stack-monitoring (Stack monitoring)

@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Aug 14, 2020
@ycombinator ycombinator added the Team:Services (Deprecated) Label for the former Integrations-Services team label Aug 14, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/integrations-services (Team:Services)

@botelastic botelastic bot removed the needs_team Indicates that the issue/PR needs a Team:* label label Aug 14, 2020
@ycombinator
Copy link
Contributor Author

CI test failures are relevant. Will investigate and fix.

@elasticmachine
Copy link
Collaborator

elasticmachine commented Aug 14, 2020

💚 Build Succeeded

Pipeline View Test View Changes Artifacts preview

Expand to view the summary

Build stats

  • Build Cause: [Pull request #20613 updated]

  • Start Time: 2020-08-15T00:07:53.155+0000

  • Duration: 69 min 19 sec

Test stats 🧪

Test Results
Failed 0
Passed 3696
Skipped 703
Total 4399

@ycombinator
Copy link
Contributor Author

Jenkins CI PR build is green. @sayden would you mind reviewing the PR please? Thanks!

@ycombinator ycombinator merged commit bd42176 into elastic:feature-stack-monitoring-mb-ecs Aug 18, 2020
@ycombinator ycombinator deleted the mb-es-xp-node-stats branch August 18, 2020 10:36
leweafan pushed a commit to leweafan/beats that referenced this pull request Apr 28, 2023
…astic#20613)

* Auto-include node_stats metricset when xpack.enabled: true is set

* Fixing some tests

* Try to fix python system test

* Fixing len check

* Fixing monitoring index type for node_stats metricset

* Account for node_stats docs being indexed into metricbeat-*

* Debugging

* More debugging

* Debugging

* Updating integration test

* Fixing test code
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Stack Monitoring Team:Services (Deprecated) Label for the former Integrations-Services team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants