nodes_stats
Retrieve node statistics for monitoring cluster health, including JVM, file system, indexing, search, and other performance metrics in Easysearch MCP Server.
Instructions
获取节点统计信息
参数:
node_id: 节点 ID(可选)
metric: 统计类型 indices/os/process/jvm/thread_pool/fs/transport/http/breaker/script/discovery/ingest
index_metric: 索引统计类型 docs/store/indexing/get/search/merge/refresh/flush/warmer/query_cache/fielddata/completion/segments/translog
示例:
nodes_stats() # 所有统计
nodes_stats(metric="jvm,fs") # JVM 和文件系统
nodes_stats(metric="indices", index_metric="search,indexing") # 搜索和索引统计
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node_id | No | ||
| metric | No | ||
| index_metric | No |