This topic describes the metrics that are extracted from the Layer 7 access logs of Application Load Balancer (ALB). The metrics include global metrics and the metrics that are specific to app_lb_id, status, and upstream_status.

The metrics in this topic use the time series data format. You can execute PromQL or SQL statements to query and analyze the metrics. For more information, see Overview of query and analysis on metric data.

Global metrics

The following table describes the global metrics.

MetricDescription
pvThe total number of visits.
body_bytes_sent_avgThe average number of bytes in the bodies of the responses that are sent to clients.
body_bytes_sent_sumThe total number of bytes in the bodies of the responses that are sent to clients.
request_length_avgThe average length of requests.
request_length_sumThe total length of requests.
request_time_avgThe average period of time that is consumed to respond to a request.
request_time_p50The period of time that is consumed to respond to a request at the 50th percentile among all periods of time.
request_time_p90The period of time that is consumed to respond to a request at the 90th percentile among all periods of time.
request_time_p99The period of time that is consumed to respond to a request at the 99th percentile among all periods of time.
upstream_response_time_avgThe average period of time for a request.
Note The upstream_response_time metric indicates the interval between the time when an ALB instance is connected to the backend server and the time when the ALB instance is disconnected from the backend server after the required data is received.
upstream_response_time_p50The period of time at the 50th percentile among the periods of time for all requests.
upstream_response_time_p90The period of time at the 90th percentile among the periods of time for all requests.
upstream_response_time_p99The period of time at the 99th percentile among the periods of time for all requests.

Metrics specific to app_lb_id

The tag of the metrics specific to app_lb_id is app_lb_id. The following table describes the metrics.

MetricUnitDescriptionTag
pv:app_lb_idcountThe number of page views (PVs) for the ALB instance.app_lb_id
body_bytes_sent_avg:app_lb_idbyteThe average number of bytes in the bodies of the HTTP responses that are sent to the client.app_lb_id
body_bytes_sent_sum:app_lb_idbyteThe total number of bytes in the bodies of the HTTP responses that are sent to the client.app_lb_id
request_length_avg:app_lb_idbyteThe average length of the requests.app_lb_id
request_length_sum:app_lb_idbyteThe total length of the requests.app_lb_id
request_time_avg:app_lb_idsecondThe average duration of the requests.app_lb_id
request_time_p50:app_lb_idsecondThe 50th percentile value for the request durations.app_lb_id
request_time_p90:app_lb_idsecondThe 90th percentile value for the request durations.app_lb_id
request_time_p99:app_lb_idsecondThe 99th percentile value for the request durations.app_lb_id
upstream_response_time_avg:app_lb_idsecondThe average duration of the request connections.
Note The upstream_response_time field specifies the interval between the time when the ALB instance connects to the backend server and the time when the ALB instance disconnects from the backend server after the required data is received.
app_lb_id
upstream_response_time_p50:app_lb_idsecondThe 50th percentile value for the request connection durations.app_lb_id
upstream_response_time_p90:app_lb_idsecondThe 90th percentile value for the request connection durations.app_lb_id
upstream_response_time_p99:app_lb_idsecondThe 99th percentile value for the request connection durations.app_lb_id

Metrics specific to status

The tag of the metrics specific to status is app_lb_id+host+status. The following table describes the metrics.

MetricUnitDescriptionTag
pv:app_lb_id:host:statuscountThe numbers of PVs that are measured in the app_lb_id, host, and status dimensions.app_lb_id+host+status
body_bytes_sent_avg:app_lb_id:host:statusbyteThe average number of bytes in the bodies of the HTTP responses that are sent to the client.app_lb_id+host+status
body_bytes_sent_sum:app_lb_id:host:statusbyteThe total number of bytes in the bodies of the HTTP responses that are sent to the client.app_lb_id+host+status
request_length_avg:app_lb_id:host:statusbyteThe average length of the requests.app_lb_id+host+status
request_length_sum:app_lb_id:host:statusbyteThe total length of the requests.app_lb_id+host+status
request_time_avg:app_lb_id:host:statussecondThe average duration of the requests.app_lb_id+host+status
request_time_p50:app_lb_id:host:statussecondThe 50th percentile value for the request durations.app_lb_id+host+status
request_time_p90:app_lb_id:host:statussecondThe 90th percentile value for the request durations.app_lb_id+host+status
request_time_p99:app_lb_id:host:statussecondThe 99th percentile value for the request durations.app_lb_id+host+status
upstream_response_time_avg:app_lb_id:host:statussecondThe average duration of the request connections.
Note The upstream_response_time field specifies the interval between the time when the ALB instance connects to the backend server and the time when the ALB instance disconnects from the backend server after the required data is received.
app_lb_id+host+status
upstream_response_time_p50:app_lb_id:host:statussecondThe 50th percentile value for the request connection durations.app_lb_id+host+status
upstream_response_time_p90:app_lb_id:host:statussecondThe 90th percentile value for the request connection durations.app_lb_id+host+status
upstream_response_time_p99:app_lb_id:host:statussecondThe 99th percentile value for the request connection durations.app_lb_id+host+status