Skip to main content

metrics_apps_restart_counts

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

Overview

Namemetrics_apps_restart_counts
TypeResource
Iddigitalocean.monitoring.metrics_apps_restart_counts

Fields

NameDatatypeDescription
dataobject
statusstring

Methods

NameAccessible byRequired ParamsDescription
monitoring_get_app_restart_count_metrics_ymlSELECTapp_id, end, startTo retrieve restart count metrics for a given app, send a GET request to /v2/monitoring/metrics/apps/restart_count.

SELECT examples

To retrieve restart count metrics for a given app, send a GET request to /v2/monitoring/metrics/apps/restart_count.

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