| 接口 | GET /_nodes/hot_threads 或 /_nodes/<node>/hot_threads |
|---|---|
| 参数 | threads=3 采样线程数、type=cpu|wait|block、interval |
| 读法 | 栈顶几行通常是热点来源,搜索线程里能看出查询类型 |
示例
示例
GET /_nodes/hot_threads?threads=5
GET /_nodes/hot_threads?type=wait&interval=10s输出是按节点分段的纯文本,节点多时先看堆或 CPU 偏高的那台。