Skip to main content

metrics_droplet_memory_totals

Creates, updates, deletes, gets or lists a metrics_droplet_memory_totals resource.

Overview

Namemetrics_droplet_memory_totals
TypeResource
Iddigitalocean.monitoring.metrics_droplet_memory_totals

Fields

NameDatatypeDescription
dataobject
statusstring

Methods

NameAccessible byRequired ParamsDescription
monitoring_get_droplet_memory_total_metricsSELECTend, host_id, startTo 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 }}';