/clusters/{cluster_name}/resources/memory/allocated
Gets a time series for allocated memory in a given cluster.
Request
GET http://unravel-host
:3000/api/v1/clusters/{cluster_name}/resources/memory/allocated?from={timestamp}&to={timestamp}
Path parameters
Name | Description |
---|---|
| Cluster name. |
Query parameters
Required parameters are highlighted
.
Name | Type | Description |
---|---|---|
| string | Start date. Format |
| string | End date. Format |
Response body
Examples
Request:
curl -X GET "http://http://myserver.com:3000/api/v1/clusters/QACDH601A/resources/memory/allocated?from=2019-03-28&to=2019-06-28" -H "accept: application/json" -H "Authorization: JWT token
"
Response body:
{ "1561539600000": "4416", "1561543200000": "2304" }