metrics_apps_cpu_percentages
Creates, updates, deletes, gets or lists a metrics_apps_cpu_percentages
resource.
Overview
Name | metrics_apps_cpu_percentages |
Type | Resource |
Id | digitalocean.monitoring.metrics_apps_cpu_percentages |
Fields
Name | Datatype | Description |
---|---|---|
data | object | |
status | string |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
monitoring_get_app_cpu_percentage_metrics | SELECT | app_id, end, start | To retrieve cpu percentage metrics for a given app, send a GET request to /v2/monitoring/metrics/apps/cpu_percentage . |
SELECT
examples
To retrieve cpu percentage metrics for a given app, send a GET request to /v2/monitoring/metrics/apps/cpu_percentage
.
SELECT
data,
status
FROM digitalocean.monitoring.metrics_apps_cpu_percentages
WHERE app_id = '{{ app_id }}'
AND end = '{{ end }}'
AND start = '{{ start }}';