My goal is to retrieve NFS and total OPS for a node.
Cluster version is: 9.11.1P5
I am using the following API:
/api/cluster/counter/tables/?fields=name,description
There are 2 counters that seem related to the node:
{
"name": "system",
"description": "The System table reports general system activity. This includes global throughput for the main services, I/O latency, and CPU activity. The alias name for system:node is system_node.",
"_links": {
"self": {
"href": "/api/cluster/counter/tables/system"
}
}
},
{
"name": "system:node",
"description": "The System table reports general system activity. This includes global throughput for the main services, I/O latency, and CPU activity. The alias name for system:node is system_node.",
"_links": {
"self": {
"href": "/api/cluster/counter/tables/system%3Anode"
}
}
},As you can see, their description is identical. I lean more toward "system:node" since "system" probably means the entire cluster, but the description is unclear so that is why I wanted to double check.
- Am I using the right API call to fetch node's NFS and total OPS?
- If so, which counter table should I use for getting node's NFS and total OPS: "system" or "system:node"?