Technologies/Elasticsearch/elasticsearch.node.script.compilation_limit_triggered
ElasticsearchElasticsearchMetric

elasticsearch.node.script.compilation_limit_triggered

Script compilation limits
Dimensions:None
Available on:OpenTelemetryOpenTelemetry (1)

Summary

Counts script compilation rejections when the circuit breaker limit is hit. Elasticsearch limits script compilations per time window to prevent excessive CPU usage from dynamic script evaluation. Frequent limit triggers suggest over-reliance on dynamic scripts or missing script caching, requiring migration to stored scripts or script optimization.

Interface Metrics (1)
OpenTelemetryOpenTelemetry
Total number of times the script compilation circuit breaker has limited inline script compilations.
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