| 接口 | GET /_nodes/stats 或指定分段 /_nodes/stats/jvm,fs,os |
|---|---|
| 常用分段 | jvm、fs、os、indices、thread_pool、breaker、transport |
| 瘦身参数 | filter_path=nodes.*.jvm.mem.heap_used_percent |
示例
示例
GET /_nodes/stats/jvm,fs?filter_path=nodes.*.name,nodes.*.jvm.mem.heap_used_percent,nodes.*.fs.total
GET /_nodes/stats/breaker?filter_path=nodes.*.breakers.parent堆使用率与 GC 时间要一起看:堆不高但 GC 频繁,同样说明对象分配压力大。