Get workload network usage (bps)
Get the Network usage, categorized by inbound and outbound, for the workload.
Query parameters
clusterIdsstringRequired
namespacesstringRequired
workloadIdsstringRequired
Responses
200
OK
*/*
get
GET /v1/monitoring-workloads/metric/network/result/current?clusterIds=text&namespaces=text&workloadIds=text HTTP/1.1
Host:
Accept: */*
200
OK
[
{
"metrics": {
"cluster": "thingcluster",
"measure": "inbound",
"namespace": "cocktail-system",
"workload": "cocktail-api-cmdb"
},
"timestamp": 1688001420,
"value": 595.1208098322701
},
{
"metrics": {
"cluster": "thingcluster",
"measure": "outbound",
"namespace": "cocktail-system",
"workload": "cocktail-api-cmdb"
},
"timestamp": 1688001420,
"value": 2675.7099578828106
}
]
Was this helpful?