Was this helpful?
Get the total CPU usage of pods deployed in the namespace.
/v1/monitoring-ns/metric/total-cpu/result/transition
curl -L \ --url '/v1/monitoring-ns/metric/total-cpu/result/transition?clusterIds=text&start=text&end=text'
[ { "metrics": { "cluster": "thingcluster", "measure": "usage-cpu" }, "samples": [ 1.41992, 1.32641, 1.39083 ], "timestamps": [ 1687741080, 1687741140, 1687741200 ], "values": null } ]