Get the hot threads for nodes
GET
/_nodes/hot_threads Get a breakdown of the hot threads on each selected node in the cluster. The output is plain text with a breakdown of the top hot threads for each node.
Required authorization
- Cluster privileges:
monitor,manage
Parameters
query Query Parameters
| Name | Type |
|---|---|
ignore_idle_threads If true, known idle threads (e.g. waiting in a socket select, or to get a task from an empty queue) are filtered out. | boolean |
interval The interval to do the second sampling of threads. | type TypesDuration = string | "-1" | "0" |
snapshots Number of samples of thread stacktrace. | number |
threads Specifies the number of hot threads to provide information for. | number |
timeout Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error. | type TypesDuration = string | "-1" | "0" |
type The type to sample. | type TypesThreadType = "cpu" | "wait" | "block" | "gpu" | "mem" |
sort The sort order for 'cpu' type | type TypesThreadType = "cpu" | "wait" | "block" | "gpu" | "mem" |
Responses
200 application/json
{}