elasticsearch.node.script.compilations
Script compilationsDimensions:None
Available on:
OpenTelemetry (1)
Summary
Counts the total number of script compilations performed by the node, tracking how often Painless scripts are compiled from source. High compilation rates indicate cache misses or diverse script usage patterns. Excessive compilations consume CPU and may trigger compilation rate limiting (tracked separately), impacting queries and aggregations that rely on inline scripts for custom logic.
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
▸