Get Droplet Cached Memory Metrics
To retrieve cached memory metrics for a given droplet, send a GET request to /v2/monitoring/metrics/droplet/memory_cached.
Query parameters
The droplet ID.
UNIX timestamp to start metric window.
UNIX timestamp to end metric window.
Response
The response will be a JSON object with a key called data and status.
Example response
{
"data": {
"result": [
{
"metric": {
"host_id": "19201920"
},
"values": [
[
1435781430,
"1"
],
[
1435781445,
"1"
]
]
}
],
"resultType": "matrix"
},
"status": "success"
}Changes
Changed in 4 of the 8 revisions of this API.14
- ○
api tag
DigitalOcean-public.v2-new_Monitoringaddedapi-tag-added
- ○
api tag
Monitoringremovedapi-tag-removed
This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ○
endpoint added
endpoint-added
This revision also has 70 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ▲
api path removed without deprecation
api-path-removed-without-deprecation
This revision also has 436 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ○
endpoint added
endpoint-added
This revision also has 70 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○