Skip to content

Report overall mapping size in cluster stats#87556

Merged
DaveCTurner merged 6 commits intoelastic:masterfrom
DaveCTurner:2022-06-09-mapping-size-stats
Jun 14, 2022
Merged

Report overall mapping size in cluster stats#87556
DaveCTurner merged 6 commits intoelastic:masterfrom
DaveCTurner:2022-06-09-mapping-size-stats

Conversation

@DaveCTurner
Copy link
Copy Markdown
Member

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

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
@DaveCTurner DaveCTurner added >enhancement :Distributed/Cluster Coordination Cluster formation and cluster state publication, including cluster membership and fault detection. v8.4.0 labels Jun 9, 2022
@elasticmachine elasticmachine added the Team:Distributed Meta label for distributed team. label Jun 9, 2022
@elasticmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-distributed (Team:Distributed)

@elasticsearchmachine
Copy link
Copy Markdown
Collaborator

Hi @DaveCTurner, I've created a changelog YAML for you.

@sethmlarson sethmlarson added the Team:Clients Meta label for clients team label Jun 9, 2022
@elasticmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/clients-team (Team:Clients)

*/
public long getTotalMappingSizeBytes() {
return totalMappingSizeBytes;
}
Copy link
Copy Markdown
Contributor

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?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

++ or OptionalLong, even better

@DaveCTurner DaveCTurner merged commit fcf293f into elastic:master Jun 14, 2022
@DaveCTurner DaveCTurner deleted the 2022-06-09-mapping-size-stats branch June 14, 2022 12:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Distributed/Cluster Coordination Cluster formation and cluster state publication, including cluster membership and fault detection. >enhancement Team:Clients Meta label for clients team Team:Distributed Meta label for distributed team. v8.4.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants