-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Report overall mapping size in cluster stats #87556
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
Report overall mapping size in cluster stats #87556
Conversation
Adds measures of the total size of all mappings and the total number of fields in the cluster (both before and after deduplication). Relates elastic#86639 Relates elastic#77466
|
Pinging @elastic/es-distributed (Team:Distributed) |
|
Hi @DaveCTurner, I've created a changelog YAML for you. |
|
Pinging @elastic/clients-team (Team:Clients) |
| */ | ||
| public long getTotalMappingSizeBytes() { | ||
| return totalMappingSizeBytes; | ||
| } |
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 above getters return Long to avoid NPE?
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.
++ or OptionalLong, even better
Adds measures of the total size of all mappings and the total number of
fields in the cluster (both before and after deduplication).
Relates #86639
Relates #77466