/clusters/{cluster_name}/resources/memory/total
Gets a time series for total memory usage in a given cluster.
Request
GET http://unravel-host
:3000/api/v1/clusters/{cluster_name}/resources/memory/total?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/total?from=2019-03-28&to=2019-06-28" -H "accept: application/json" -H "Authorization: JWT token
"
Response body:
{ "1561536000000": 14663, "1561539600000": 14663, "1561543200000": 14663, "1561546800000": 14663, "1561550400000": 14663, "1561554000000": 14663, "1561557600000": 14663, "1561561200000": 14663, "1561564800000": 14663, "1561568400000": 14663, "1561572000000": 14663, "1561575600000": 14663, "1561579200000": 14663, "1561582800000": 14663, "1561586400000": 14663, "1561590000000": 14663, "1561593600000": 14663, "1561597200000": 14663, "1561600800000": 14663, "1561604400000": 14663, "1561608000000": 14663, "1561611600000": 14663, "1561615200000": 14663 }