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