Get cluster node Memory usage trend (Byte)

Get cluster node Memory usage trend (Byte)

get

Get the per-minute trend of memory usage by node in the cluster, categorized by total, available, used, and used-ratio.

Query parameters
clusterIdsstringRequired
nodeIdsstringOptional
startstringRequired

Start date for the query

endstringRequired

End date for the query

Responses
200
OK
*/*
get
GET /v1/monitoring-nodes/metric/memory-usage/result/transition?clusterIds=text&start=text&end=text HTTP/1.1
Host: 
Accept: */*
200

OK

[
  {
    "metrics": {
      "cluster": "thingcluster",
      "measure": "total",
      "node": "apps-gpu-v100"
    },
    "samples": [
      16607899648,
      16607899648,
      16607899648
    ],
    "timestamps": [
      1685620800,
      1685620860,
      1685620920
    ],
    "values": null
  },
  {
    "metrics": {
      "cluster": "thingcluster",
      "measure": "available",
      "node": "apps-gpu-v100"
    },
    "samples": [
      12771897344,
      12770172928,
      12823642112
    ],
    "timestamps": [
      1685620800,
      1685620860,
      1685620920
    ],
    "values": null
  },
  {
    "metrics": {
      "cluster": "thingcluster",
      "measure": "used",
      "node": "apps-gpu-v100"
    },
    "samples": [
      3836002304,
      3837726720,
      3784257536
    ],
    "values": null
  },
  {
    "metrics": {
      "cluster": "thingcluster",
      "measure": "used-ratio",
      "node": "apps-gpu-v100"
    },
    "samples": [
      0.23097,
      0.23108,
      0.22786,
      0.23104
    ],
    "timestamps": [
      1685620800,
      1685620860,
      1685620920
    ],
    "values": null
  }
]

Was this helpful?