Get the total requested and limit amounts of CPU (Core) and Memory (Byte) allocated to pods deployed by the workload.
OK
OK
GET /v1/monitoring-workloads/metric/quota/result/current?clusterIds=text&namespaces=text&workloadIds=text HTTP/1.1
Accept: */*
[
{
"metrics": {
"cluster": "thingcluster",
"measure": "limit-cpu",
"namespace": "cocktail-system",
"workload": "cocktail-api-cmdb"
},
"timestamp": 1688004660,
"value": 1
},
{
"metrics": {
"cluster": "thingcluster",
"measure": "limit-memory",
"namespace": "cocktail-system",
"workload": "cocktail-api-cmdb"
},
"timestamp": 1688004660,
"value": 2147483648
},
{
"metrics": {
"cluster": "thingcluster",
"measure": "request-cpu",
"namespace": "cocktail-system",
"workload": "cocktail-api-cmdb"
},
"timestamp": 1688004660,
"value": 0.5
},
{
"metrics": {
"cluster": "thingcluster",
"measure": "request-memory",
"namespace": "cocktail-system",
"workload": "cocktail-api-cmdb"
},
"timestamp": 1688004660,
"value": 1073741824
}
]