Get trend of PVCs by status in the namespace
Get the per-minute trend of PVC status (Bound, Pending, Lost) created in the namespace.
Query parameters
clusterIdsstringRequired
namespacesstringOptional
startstringRequired
endstringRequired
Responses
200
OK
*/*
get
GET /v1/monitoring-ns/metric/pvc-phase/result/transition?clusterIds=text&start=text&end=text HTTP/1.1
Host:
Accept: */*
200
OK
[
{
"metrics": {
"cluster": "thingcluster",
"namespace": "cocktail-system",
"phase": "Pending",
"pvc": "data-cocktail-monitoring-monitoring-db-0"
},
"samples": [
0,
0,
0
],
"timestamps": [
1687741080,
1687741140,
1687741200
],
"values": null
}
]
Was this helpful?