Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upAdd query cache hit count and field data cache hit count to rest API #48645
Comments
|
Pinging @elastic/es-core-features (:Core/Features/CAT APIs) |
|
As a point of clarification -- it seems the node stats API returns this information, but it is not available in the cat nodes API. |
|
@clandry94 I am a beginner in open source contributions, Can I start working on this? |
|
@samz007 sure |
|
Is anyone picking up this one? or can I pick up? I am beginner to ES group. |
|
@clandry94 Started working on this issue. Thanks. |
|
Is this issue still open and unassigned ? |
|
I won't have time to work on this for the foreseeable future, so if someone else would like to grab it feel free |
|
Can I start working on this one? |
|
Is this issue still unassigned? Can I start working on it? |
Describe the feature:
I was investigating cache hit ratios in Elasticsearch clusters recently and noticed that the
request_cachehas ahit_countandmiss_countexposed through the rest API but thequery_cacheandfielddatacache do not as seen h ereelasticsearch/server/src/main/java/org/elasticsearch/rest/action/cat/RestNodesAction.java
Lines 157 to 169 in 18f5690
The values seem to be available within the
QueryCacheStatsclass but notFieldDataStatsclass so would it make sense to make theQueryCacherest API on parity to theRequestCacherest API? Also having the field data cache hit and miss counts would be very useful as well but seems to be a bit more work to implement.I can implement these features if it would be useful