Elasticsearch Nodes hot_threads

x33g5p2x  于2021-03-14 发布在 ElasticSearch  
字(0.7k)|赞(0)|评价(0)|浏览(442)

原文链接 : https://www.elastic.co/guide/en/elasticsearch/reference/5.0/cluster-nodes-hot-threads.html

译文链接 : http://www.apache.wiki/display/Elasticsearch/Nodes+hot_threads

贡献者 : [那伊抹微笑]

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

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

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

相关文章

微信公众号

最新文章

更多