Was this helpful?
Get the trend of the number of pods restarted per minute in the namespace.
curl -L \ --url '/v1/monitoring-ns/metric/pod-restart/result/transition?clusterIds=text&start=text&end=text'
[ { "metrics": { "cluster": "thingcluster", "container": "kube-scheduler", "namespace": "cocktail-system", "pod": "cocktail-api-cmdb-0", "workload": "cocktail-api-cmdb" }, "samples": [ 0, 0, 0 ], "timestamps": [ 1687741080, 1687741140, 1687741200 ], "values": null } ]