Returns thread pool statistics for each node in a cluster
Returned information includes all built-in thread pools and custom thread pools. IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the nodes info API.
Path parameters
-
A comma-separated list of thread pool names used to limit the request. Accepts wildcard expressions.
Query parameters
-
time string
The unit used to display time values.
Values are
nanos
,micros
,ms
,s
,m
,h
, ord
. -
local boolean
If
true
, the request computes the list of selected nodes from the local cluster state. Iffalse
the list of selected nodes are computed from the cluster state of the master node. In both cases the coordinating node will send requests for further information to each selected node. -
master_timeout string
Period to wait for a connection to the master node.
curl \
-X GET http://api.example.com/_cat/thread_pool/{thread_pool_patterns}
[
{
"node_name": "string",
"node_id": "string",
"ephemeral_node_id": "string",
"pid": "string",
"host": "string",
"ip": "string",
"port": "string",
"name": "string",
"type": "string",
"active": "string",
"pool_size": "string",
"queue": "string",
"queue_size": "string",
"rejected": "string",
"largest": "string",
"completed": "string",
"core": "string",
"max": "string",
"size": "string",
"keep_alive": "string"
}
]