arrow-left

All pages
gitbookPowered by GitBook
1 of 1

Loading...

Get workload pod memory usage trend (Bytes)

hashtag
Get workload pod memory usage trend (Bytes)

get

Get the Memory usage trend per minute of the pods created by the workload.

Query parameters
clusterIdsstringRequired
namespacesstringRequired
workloadIdsstringRequired
startstringRequired
endstringRequired
Responses
chevron-right
200

OK

*/*
get
/v1/monitoring-workloads/metric/pod-memory/result/transition
200

OK

GET /v1/monitoring-workloads/metric/pod-memory/result/transition?clusterIds=text&namespaces=text&workloadIds=text&start=text&end=text HTTP/1.1
Accept: */*
[
  {
    "metrics": {
      "cluster": "thingcluster",
      "measure": "usage-memory",
      "namespace": "cocktail-system",
      "node": "apps-gpu-v100",
      "pod": "cocktail-api-cmdb-0",
      "workload": "cocktail-api-cmdb"
    },
    "samples": [
      1508339712,
      1508360192,
      1508970496
    ],
    "timestamps": [
      1687741080,
      1687741140,
      1687741200
    ],
    "values": null
  }
]