-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
[Metricbeat] Fix nesting of headings in Elasticsearch fields description #20676
Conversation
Pinging @elastic/stack-monitoring (Stack monitoring) |
Pinging @elastic/integrations-services (Team:Services) |
@@ -32,127 +30,104 @@ | |||
Total size of the store in bytes. | |||
- name: jvm.mem.pools | |||
type: group | |||
description: > | |||
JVM memory pool stats |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
Fixes #20575
Now all
node.stats
fields are under the same "Node stats" heading