elasticsearch.node.script.cache_evictions
Script cache evictionsDimensions:None
Available on:
OpenTelemetry (1)
Summary
Measures the number of evictions from the script compilation cache, indicating pressure on compiled script storage. Elasticsearch caches compiled Painless scripts to avoid repeated compilation overhead. High eviction rates suggest excessive script diversity or inadequate cache sizing, leading to repeated compilations that consume CPU and increase query latency, particularly for scripted queries and aggregations.
Interface Metrics (1)
Dimensions:None
Related Insights (2)
Script Compilation Cache Pressurewarning
Excessive script compilation from unique painless scripts can exhaust the compilation cache, trigger rate limiting, and impact query performance.
▸
Script compilation limit triggered metric available for monitoringinfo
▸