Was this helpful?
Get the per-minute trend of the CPU usage for the top 5 pods in the cluster with the highest CPU usage.
Start date for the query
End date for the query
curl -L \ --url '/v1/monitoring-clusters/metric/pod-cpu-top/result/transition?clusterIds=text&start=text&end=text'
[ { "metrics": { "cluster": "thingcluster", "namespace": "cocktail-system", "pod": "cocktail-api-cmdb-0", "workload": "cocktail-api-cmdb" }, "samples": [ 0.21448, 0.18462, 0.15429 ], "timestamps": [ 1687741080, 1687741140, 1687741200 ], "values": null } ]