Get namespace CPU total usage (Core)
Get the total CPU usage of pods deployed in the namespace.
Query parameters
clusterIdsstringRequired
namespacesstringOptional
startstringRequired
endstringRequired
Responses
200
OK
*/*
get
GET /v1/monitoring-ns/metric/total-cpu/result/transition?clusterIds=text&start=text&end=text HTTP/1.1
Host:
Accept: */*
200
OK
[
{
"metrics": {
"cluster": "thingcluster",
"measure": "usage-cpu"
},
"samples": [
1.41992,
1.32641,
1.39083
],
"timestamps": [
1687741080,
1687741140,
1687741200
],
"values": null
}
]
Was this helpful?