Skip to main content

metrics_apps_cpu_percentages

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

Overview

Namemetrics_apps_cpu_percentages
TypeResource
Iddigitalocean.monitoring.metrics_apps_cpu_percentages

Fields

NameDatatypeDescription
dataobject
statusstring

Methods

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