Loading...
Get the per-minute trend of CPU usage by state (User, System, Steal, Nice, Irq, Softirq, iowait, Idle) for cluster nodes.
/v1/monitoring-nodes/metric/cpu-usage-by-mode/result/transition
Start date for the query
End date for the query
curl -L \ --url '/v1/monitoring-nodes/metric/cpu-usage-by-mode/result/transition?clusterIds=text&start=text&end=text'
[ { "values": null, "samples": [ 0.00097, 0.00096, 0.00088 ], "timestamps": [ 1685620800, 1685620860, 1685620920 ], "metrics": { "cluster": "thingcluster", "mode": "softirq", "node": "apps-gpu-v100" } }, { "values": null, "samples": [ 0, 0, 0 ], "timestamps": [ 1685620800, 1685620860, 1685620920 ], "metrics": { "cluster": "thingcluster", "mode": "steal", "node": "apps-gpu-v100" } } ]