2013-08-28 19:24:34 -04:00
|
|
|
[[cluster-nodes-hot-threads]]
|
|
|
|
== Nodes hot_threads
|
|
|
|
|
|
|
|
An API allowing to get the current hot threads on each node in the
|
|
|
|
cluster. Endpoints are `/_nodes/hot_threads`, and
|
2014-02-06 08:19:17 -05:00
|
|
|
`/_nodes/{nodesIds}/hot_threads`.
|
2013-08-28 19:24:34 -04:00
|
|
|
|
|
|
|
The output is plain text with a breakdown of each node's top hot
|
2014-02-06 08:19:17 -05:00
|
|
|
threads. Parameters allowed are:
|
2013-08-28 19:24:34 -04:00
|
|
|
|
|
|
|
[horizontal]
|
2014-02-06 08:19:17 -05:00
|
|
|
`threads`:: number of hot threads to provide, defaults to 3.
|
2013-08-28 19:24:34 -04:00
|
|
|
`interval`:: the interval to do the second sampling of threads.
|
2014-02-06 08:19:17 -05:00
|
|
|
Defaults to 500ms.
|
2013-08-28 19:24:34 -04:00
|
|
|
`type`:: The type to sample, defaults to cpu, but supports wait and
|
|
|
|
block to see hot threads that are in wait or block state.
|