Get the trend of total number of pods by node in namespace
Get the per-minute trend of the total number of pods deployed on a node in the namespace.
Query parameters
clusterIdsstringRequired
namespacesstringOptional
startstringRequired
endstringRequired
Responses
200
OK
*/*
get
GET /v1/monitoring-ns/metric/pod-count-on-node/result/transition?clusterIds=text&start=text&end=text HTTP/1.1
Host:
Accept: */*
200
OK
[
{
"metrics": {
"cluster": "thingcluster",
"namespace": "cocktail-system",
"node": "apps-gpu-v100"
},
"samples": [
5,
5,
5
],
"timestamps": [
1687741080,
1687741140,
1687741200
],
"values": null
}
]
Was this helpful?