Get cluster node CPU usage trend by status (%)
Get the per-minute trend of CPU usage by state (User, System, Steal, Nice, Irq, Softirq, iowait, Idle) for cluster nodes.
Query parameters
clusterIdsstringRequired
nodeIdsstringOptional
startstringRequired
Start date for the query
endstringRequired
End date for the query
Responses
200
OK
*/*
get
GET /v1/monitoring-nodes/metric/cpu-usage-by-mode/result/transition?clusterIds=text&start=text&end=text HTTP/1.1
Host:
Accept: */*
200
OK
[
{
"metrics": {
"cluster": "thingcluster",
"mode": "softirq",
"node": "apps-gpu-v100"
},
"samples": [
0.00097,
0.00096,
0.00088
],
"timestamps": [
1685620800,
1685620860,
1685620920
],
"values": null
},
{
"metrics": {
"cluster": "thingcluster",
"mode": "steal",
"node": "apps-gpu-v100"
},
"samples": [
0,
0,
0
],
"timestamps": [
1685620800,
1685620860,
1685620920
],
"values": null
}
]
Was this helpful?