Skip to main content

daily_metrics_bandwidths

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

Overview

Namedaily_metrics_bandwidths
TypeResource
Iddigitalocean.apps.daily_metrics_bandwidths

Fields

NameDatatypeDescription
app_bandwidth_usagearrayA list of bandwidth usage details by app.
datestringThe date for the metrics data.

Methods

NameAccessible byRequired ParamsDescription
apps_get_metrics_bandwidth_dailySELECTapp_idRetrieve daily bandwidth usage metrics for a single app.
apps_list_metrics_bandwidth_dailySELECTdata__app_idsRetrieve 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 }}';