elastic / elasticsearch

Free and Open Source, Distributed, RESTful Search Engine
https://www.elastic.co/products/elasticsearch
Other
69.71k stars 24.67k forks source link

Get esql into the indices stats API #109673

Open nik9000 opened 3 months ago

nik9000 commented 3 months ago

Description

We have this indices stats API that tracks things like the number of queries landing on the index and the number of cache hits. ESQL doesn't really participate in this in any non-accidental way. I expect we do report query caching statistics, but not the overall number of queries. And we don't support the same "grouping" that _search does. I found that grouping quite useful years ago when I ran an Elasticsearch cluster.

ESQL should probably integrate with this.

elasticsearchmachine commented 3 months ago

Pinging @elastic/es-analytical-engine (Team:Analytics)