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") # 搜索和索引统计
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "nodes_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node_id | No | ||
| metric | No | ||
| index_metric | No |