metrics_droplet_cpus
Creates, updates, deletes, gets or lists a metrics_droplet_cpus
resource.
Overview
Name | metrics_droplet_cpus |
Type | Resource |
Id | digitalocean.monitoring.metrics_droplet_cpus |
Fields
Name | Datatype | Description |
---|---|---|
data | object | |
status | string |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
monitoring_get_droplet_cpu_metrics | SELECT | end, host_id, start | To 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 }}';