Nodes hot_threads

API 可以获取当前集群中每一个节点的 hot threads(热点线程)。Endpoints(端点)是 /_nodes/hot_threads 和**/_nodes/{nodesIds}/hot_threads**。

该输出是每一个节点的 host threads 的崩溃的纯文本。允许的参数是 : 

参数 描述
threads number of hot threads to provide, defaults to 3.
interval the interval to do the second sampling of threads. Defaults to 500ms.
type The type to sample, defaults to cpu, but supports wait and block to see hot threads that are in wait or block state.
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. Defaults to true.