Was this helpful?
Get the usage of PVCs created in the namespace.
/v1/monitoring-ns/metric/volume/result/current
curl -L \ --url '/v1/monitoring-ns/metric/volume/result/current?clusterIds=text'
[ { "metrics": { "cluster": "thingcluster", "measure": "total", "pv_name": "pvc-25d59719-c9d4-48ac-a87a-be5adca980a2", "pvc_name": "data-cocktail-monitoring-monitoring-db-0", "pvc_namespace": "cocktail-system", "storage_class": "nfs-csi", "volume_type": "text" }, "timestamp": 1687934760, "value": 1099511627776 } ]