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
Extract script and script cache stats from nodes stats into separate API #95394
Comments
Pinging @elastic/es-core-infra (Team:Core/Infra) |
Pinging @elastic/es-data-management (Team:Data Management) |
checking the classes for |
@HiDAl when I looked I believe they carry the same information, so we should go with the non-deprecated one. |
@stu-elastic can you give more context on the deprecated stats? @dakrone Even if moving the stats out of node stats, they would still be per node. So such a new API would have to present stats for the entire cluster (collecting from each node and aggregating) right? I guess that is not different than node stats currently (at least by default without passing a node id)? |
They are when we, for a few versions, had per-context stats and per-context rate limiting We deprecated per-context rate limiting because users found it confusing and instead ensured no system scripts (like ingest) were not rate limited.
|
Yes, that's correct, these stats would be aggregated and for the entire cluster, not per-node. |
@rjernst yes, we're doing this for all the stats that we're migrating |
Description
From the nodes stats API, we should extract the
script
and/orscript_cache
(they appear to present the same information) stats into their own endpoint. This endpoint can then be non-node-centric, and present a global view of the number of script compilations, cache hits/misses, and so on.The text was updated successfully, but these errors were encountered: