-
Notifications
You must be signed in to change notification settings - Fork 25.2k
Add query cache hit count and field data cache hit count to rest API #48645
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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 🙂 feel free to comment if you have any questions and I can try to help out. |
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_cache
has ahit_count
andmiss_count
exposed through the rest API but thequery_cache
andfielddata
cache 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
QueryCacheStats
class but notFieldDataStats
class so would it make sense to make theQueryCache
rest API on parity to theRequestCache
rest 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
The text was updated successfully, but these errors were encountered: