Skip to content

[JAY-737] Allow the retrieval of total metrics for the indexes#57

Open
sergio-bobillier wants to merge 2 commits intomasterfrom
sb-JAY-737-index-totals
Open

[JAY-737] Allow the retrieval of total metrics for the indexes#57
sergio-bobillier wants to merge 2 commits intomasterfrom
sb-JAY-737-index-totals

Conversation

@sergio-bobillier
Copy link
Collaborator

Adds the Elasticsearch::Stats::Index::Totals class and the #totals method to the Elasticsearch::Stats::Index class. In combination these allow the caller to get information about the total metrics of a index, for example, how many documents it has, how many deleted documents, etc.

The class contains information about an index's total metrics, for
example, total number of documents, total size, etc.

At the time of writing it only returns two metrics, total number of
documents and total number of deleted documents.
The method returns the index's total metrics like the number of
documents, total size, etc.
@sergio-bobillier sergio-bobillier self-assigned this Feb 13, 2026
@sergio-bobillier sergio-bobillier marked this pull request as ready for review February 13, 2026 15:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant