mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-04-25 07:37:19 -04:00
This commit adds statistics about the index creation versions to the `/_cluster/stats` endpoint. The stats look like: ``` { "_nodes" : { "total" : 1, "successful" : 1, "failed" : 0 }, "indices" : { "count" : 3, ... "versions" : [ { "version" : "8.0.0", "index_count" : 1, "primary_shard_count" : 2, "total_primary_size" : "8.6kb", "total_primary_bytes" : 8831 }, { "version" : "7.11.0", "index_count" : 1, "primary_shard_count" : 1, "total_primary_size" : "4.6kb", "total_primary_bytes" : 4230 } ] }, ... } ``` (`total_primary_size` is only shown with the `?human` flag) This is useful for telemetry as it allows us to see if/when a cluster has indices created on a previous version that would need to be either upgraded or supported during an upgrade. |
||
---|---|---|
.. | ||
allocation-explain.asciidoc | ||
get-settings.asciidoc | ||
health.asciidoc | ||
nodes-hot-threads.asciidoc | ||
nodes-info.asciidoc | ||
nodes-reload-secure-settings.asciidoc | ||
nodes-stats.asciidoc | ||
nodes-usage.asciidoc | ||
pending.asciidoc | ||
remote-info.asciidoc | ||
reroute.asciidoc | ||
state.asciidoc | ||
stats.asciidoc | ||
tasks.asciidoc | ||
update-settings.asciidoc | ||
voting-exclusions.asciidoc |