Skip to content

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

Merged
ycombinator merged 11 commits intoelastic:feature-stack-monitoring-mb-ecsfrom
ycombinator:mb-es-xp-node-stats
Aug 18, 2020
Merged

Auto-include node_stats metricset when xpack.enabled: true is set#20613
ycombinator merged 11 commits intoelastic:feature-stack-monitoring-mb-ecsfrom
ycombinator:mb-es-xp-node-stats

Conversation

@ycombinator
Copy link
Copy Markdown
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
Copy Markdown
Contributor

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
Copy Markdown
Contributor

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
Copy Markdown
Contributor Author

CI test failures are relevant. Will investigate and fix.

@elasticmachine
Copy link
Copy Markdown
Contributor

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
Copy Markdown
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.

4 participants