metrics_droplet_memory_totals
Creates, updates, deletes, gets or lists a metrics_droplet_memory_totals
resource.
Overview
Name | metrics_droplet_memory_totals |
Type | Resource |
Id | digitalocean.monitoring.metrics_droplet_memory_totals |
Fields
Name | Datatype | Description |
---|---|---|
data | object | |
status | string |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
monitoring_get_droplet_memory_total_metrics | SELECT | end, host_id, start | To retrieve total memory metrics for a given droplet, send a GET request to /v2/monitoring/metrics/droplet/memory_total . |
SELECT
examples
To retrieve total memory metrics for a given droplet, send a GET request to /v2/monitoring/metrics/droplet/memory_total
.
SELECT
data,
status
FROM digitalocean.monitoring.metrics_droplet_memory_totals
WHERE end = '{{ end }}'
AND host_id = '{{ host_id }}'
AND start = '{{ start }}';