Skip to main content

load_balancer_metric_datas

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

Overview

Nameload_balancer_metric_datas
TypeResource
Idaws.lightsail.load_balancer_metric_datas

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
metric_dataarrayAn array of objects that describe the metric data returned.
metric_namestringThe name of the metric returned. (ClientTLSNegotiationErrorCount, HealthyHostCount, UnhealthyHostCount, HTTPCode_LB_4XX_Count, HTTPCode_LB_5XX_Count, HTTPCode_Instance_2XX_Count, HTTPCode_Instance_3XX_Count, HTTPCode_Instance_4XX_Count, HTTPCode_Instance_5XX_Count, InstanceResponseTime, RejectedConnectionCount, RequestCount)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_load_balancer_metric_dataselectregionReturns information about health metrics for your Lightsail load balancer. Metrics report the utilization of your resources, and the error counts generated by them. Monitor and collect metric data regularly to maintain the reliability, availability, and performance of your resources.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

Returns information about health metrics for your Lightsail load balancer. Metrics report the utilization of your resources, and the error counts generated by them. Monitor and collect metric data regularly to maintain the reliability, availability, and performance of your resources.

SELECT
metric_data,
metric_name
FROM aws.lightsail.load_balancer_metric_datas
WHERE region = '{{ region }}' -- required
;