Skip to main content

metrics_load_balancer_droplets_http_session_duration_avgs

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

Overview

Namemetrics_load_balancer_droplets_http_session_duration_avgs
TypeResource
Iddigitalocean.monitoring.metrics_load_balancer_droplets_http_session_duration_avgs

Fields

NameDatatypeDescription
dataobject
statusstring

Methods

NameAccessible byRequired ParamsDescription
monitoring_get_lb_droplets_http_session_duration_avgSELECTend, lb_id, startTo retrieve Droplets average HTTP session duration in seconds for a given load balancer, send a GET request to /v2/monitoring/metrics/load_balancer/droplets_http_session_duration_avg.

SELECT examples

To retrieve Droplets average HTTP session duration in seconds for a given load balancer, send a GET request to /v2/monitoring/metrics/load_balancer/droplets_http_session_duration_avg.

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