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