Indexing stats total
include replicas
#106821
Labels
>bug
:Data Management/Stats
Statistics tracking and retrieval APIs
Team:Data Management
Meta label for data/management team
Elasticsearch Version
8.14
Installed Plugins
No response
Java Version
bundled
OS Version
Darwin
Problem Description
Issuing a
GET {index_name}/_stats/indexing
request returns the primariesresult and the
total
result.Some of the
total
metrics (likewrite_load
) are averages and the values are beingmisleading as they take into account the replicas values.
The indexing metrics in particular are mostly interesting off the primary shards.
This proposes we ignore replica indexing metrics in the
total
categore to avoidoutputs where an index with one primary and one replica reports some
total
metricsas lower than the individual primary shard:
Steps to Reproduce
Create index/data stream
Ingest data
GET {index_name}/_stats/indexing
Logs (if relevant)
No response
The text was updated successfully, but these errors were encountered: