daily_metrics_bandwidths
Creates, updates, deletes, gets or lists a daily_metrics_bandwidths
resource.
Overview
Name | daily_metrics_bandwidths |
Type | Resource |
Id | digitalocean.apps.daily_metrics_bandwidths |
Fields
Name | Datatype | Description |
---|---|---|
app_bandwidth_usage | array | A list of bandwidth usage details by app. |
date | string | The date for the metrics data. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
apps_get_metrics_bandwidth_daily | SELECT | app_id | Retrieve daily bandwidth usage metrics for a single app. |
apps_list_metrics_bandwidth_daily | SELECT | data__app_ids | Retrieve daily bandwidth usage metrics for multiple apps. |
SELECT
examples
Retrieve daily bandwidth usage metrics for a single app.
SELECT
app_bandwidth_usage,
date
FROM digitalocean.apps.daily_metrics_bandwidths
WHERE app_id = '{{ app_id }}';