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

[Metricbeat] Fix nesting of headings in Elasticsearch fields description #20676

Conversation

sayden
Copy link
Contributor

@sayden sayden commented Aug 18, 2020

Fixes #20575

Now all node.stats fields are under the same "Node stats" heading

@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Aug 18, 2020
@sayden sayden self-assigned this Aug 18, 2020
@sayden sayden added Feature:Stack Monitoring Team:Services (Deprecated) Label for the former Integrations-Services team labels Aug 18, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/stack-monitoring (Stack monitoring)

@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 18, 2020
@sayden sayden added the docs label Aug 18, 2020
@elasticmachine
Copy link
Collaborator

💚 Build Succeeded

Pipeline View Test View Changes Artifacts preview

Expand to view the summary

Build stats

  • Build Cause: [Pull request #20676 opened]

  • Start Time: 2020-08-18T20:07:28.520+0000

  • Duration: 80 min 10 sec

Test stats 🧪

Test Results
Failed 0
Passed 3167
Skipped 698
Total 3865

@@ -32,127 +30,104 @@
Total size of the store in bytes.
- name: jvm.mem.pools
type: group
description: >
JVM memory pool stats
Copy link
Contributor

Choose a reason for hiding this comment

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

Should these descriptions be removed? Does the doc generator break on group field descriptions?

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 reviewed this with @dedemorton
The problem is that each field that is not leaf and has a description is formatted with "Heading 1". So the only way to maintain coherence with the rest of the fields in the module is to remove the descriptions.
So the easy and fast solution is to remove description in not leaf nodes and to take a look to the fields generation script to see if it can be improved

Copy link
Contributor

Choose a reason for hiding this comment

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

I see, thanks for clarifying. ++ to make these changes here as the immediate solution and then work on making the fields generation script better.

Copy link
Contributor

@ycombinator ycombinator left a comment

Choose a reason for hiding this comment

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

LGTM.

@sayden sayden merged commit 0665527 into elastic:master Aug 20, 2020
melchiormoulin pushed a commit to melchiormoulin/beats that referenced this pull request Oct 14, 2020
@sayden sayden deleted the bugfix/metricbeat/elasticsearch/node_stats/incorrect_indentation_in_docs branch August 25, 2022 12:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs 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.

[Metricbeat] Elasticsearch module, metricset node_stats documentation is empty in exported fields
3 participants