Get workload memory usage (Bytes)

Get workload memory usage (Bytes)

get

Get the Memory usage of the workload.

Query parameters
clusterIdsstringRequired
namespacesstringRequired
workloadIdsstringRequired
Responses
200
OK
*/*
get
GET /v1/monitoring-workloads/metric/memory/result/current?clusterIds=text&namespaces=text&workloadIds=text HTTP/1.1
Host: 
Accept: */*
200

OK

[
  {
    "metrics": {
      "cluster": "thingcluster",
      "measure": "usage-memory",
      "namespace": "cocktail-system",
      "workload": "cocktail-api-cmdb"
    },
    "timestamp": 1688001360,
    "value": 1645985792
  }
]

Was this helpful?