Skip to main content

metrics_droplet_cpus

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

Overview

Namemetrics_droplet_cpus
TypeResource
Iddigitalocean.monitoring.metrics_droplet_cpus

Fields

NameDatatypeDescription
dataobject
statusstring

Methods

NameAccessible byRequired ParamsDescription
monitoring_get_droplet_cpu_metricsSELECTend, host_id, startTo retrieve CPU metrics for a given droplet, send a GET request to /v2/monitoring/metrics/droplet/cpu.

SELECT examples

To retrieve CPU metrics for a given droplet, send a GET request to /v2/monitoring/metrics/droplet/cpu.

SELECT
data,
status
FROM digitalocean.monitoring.metrics_droplet_cpus
WHERE end = '{{ end }}'
AND host_id = '{{ host_id }}'
AND start = '{{ start }}';