Technologies/Elasticsearch/elasticsearch.node.thread_pool.tasks.queued
ElasticsearchElasticsearchMetric

elasticsearch.node.thread_pool.tasks.queued

Queued thread pool tasks
Dimensions:None
Available on:DatadogDatadog (7)DynatraceDynatrace (1)PrometheusPrometheus (1)OpenTelemetryOpenTelemetry (1)

Summary

Measures the number of tasks waiting in thread pool queues for execution. Elasticsearch uses multiple thread pools (search, write, bulk, etc.) with bounded queues. Growing queues indicate resource saturation, and queue rejections (when full) cause 429 errors. The insight about thread pool rejections highlights this as a critical indicator of cluster overload requiring scaling or query optimization.

Interface Metrics (10)
DatadogDatadog
The number of active threads in the fetch shard started pool [v1.6.0+].
Dimensions:None
DatadogDatadog
The number of rejected threads in the fetch shard started pool [v1.6.0+].
Dimensions:None
DynatraceDynatrace
Count of queued threads
Dimensions:None
PrometheusPrometheus
Thread Pool operations queued
Dimensions:None
DatadogDatadog
The number of queued threads in the fetch shard started pool [v1.6.0+].
Dimensions:None
OpenTelemetryOpenTelemetry
The number of queued tasks in the thread pool.
Dimensions:None
DatadogDatadog
The number of active threads for force merge operations [v2.1+].
Dimensions:None
DatadogDatadog
The number of queued threads for force merge operations [v2.1+].
Dimensions:None
DatadogDatadog
The number of active threads in the fetch shard store pool [v1.6.0+].
Dimensions:None
DatadogDatadog
The number of queued threads in the fetch shard store pool [v1.6.0+].
Dimensions:None
Related Insights (2)
Thread Pool Rejections Indicate Overloadcritical

Thread pool queue saturation causes Elasticsearch to reject incoming requests, indicating the cluster cannot process the current load. Search, write, and bulk thread pools are most commonly affected.

Task Management Queue Buildupwarning

Long-running or stuck tasks accumulate in the task manager, potentially blocking critical operations and consuming resources.