Get namespace PVC usage (Byte)
Get the usage of PVCs created in the namespace.
Query parameters
clusterIdsstringRequired
namespacesstringOptional
Responses
200
OK
*/*
get
GET /v1/monitoring-ns/metric/volume/result/current?clusterIds=text HTTP/1.1
Host:
Accept: */*
200
OK
[
{
"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
}
]
PreviousGet trend of PVCs by status in the namespaceNextGet current total CPU/Memory usage in the namespace
Was this helpful?