Was this helpful?
Get the memory usage of pods deployed in the namespace.
/v1/monitoring-ns/metric/memory/result/transition
curl -L \ --url '/v1/monitoring-ns/metric/memory/result/transition?clusterIds=text&namespaces=text&start=text&end=text'
[ { "metrics": { "cluster": "thingcluster", "measure": "usage-memory", "namespace": "cocktail-system", "node": "apps-gpu-v100", "pod": "cocktail-api-cmdb-0", "workload": "cocktail-api-cmdb" }, "values": null, "samples": [ 5505024, 5480448, 5570560 ], "timestamps": [ 1687741080, 1687741140, 1687741200 ] } ]