All Products
Search
Document Center

Simple Log Service:Metrics

Last Updated:Jun 16, 2026

Server Load Balancer (SLB) extracts metrics from Layer 7 access logs across four dimensions: global, slbid, status, and upstream_status.

These metrics use the time series data format and can be queried and analyzed by using PromQL or SQL. For more information, see Introduction to time series data query and analysis.

Global metrics

The following table lists the global metrics.

Metric Description
pv Total access count
body_bytes_sent_avg Average number of bytes in the HTTP body sent to the client
body_bytes_sent_sum Total number of bytes in the HTTP body sent to the client
request_length_avg Average length of the request message
request_length_sum Total length of the request message
request_time_avg Average request time
request_time_p50 50th percentile of request time
request_time_p90 90th percentile of request time
request_time_p99 99th percentile of request time
upstream_response_time_avg Average upstream response time
Note upstream_response_time is the duration from when Server Load Balancer establishes a connection to a backend server until it receives the data and closes the connection.
upstream_response_time_p50 Median request connection duration
upstream_response_time_p90 90th percentile request connection duration
upstream_response_time_p99 99th percentile request connection duration
write_response_time_avg Average response time for the proxy to write to the client
write_response_time_p50 50th percentile of the proxy write response time
write_response_time_p90 90th percentile of the proxy write response time
write_response_time_p99 99th percentile of the proxy write response time

slbid dimension

Metrics in this dimension use the slbid label.

Metric Unit Description Label
pv:slbid count Number of accesses to the SLB instance slbid
body_bytes_sent_avg:slbid byte Average number of bytes in the HTTP body sent to the client slbid
body_bytes_sent_sum:slbid byte Total number of bytes in the HTTP body sent to the client slbid
request_length_avg:slbid byte Average length of the request message slbid
request_length_sum:slbid byte Total length of the request message slbid
request_time_avg:slbid second Average request time slbid
request_time_p50:slbid second 50th percentile of request time slbid
request_time_p90:slbid second 90th percentile of request time slbid
request_time_p99:slbid second 99th percentile of request time slbid
upstream_response_time_avg:slbid second Average upstream response time
Note upstream_response_time is the duration from when Server Load Balancer establishes a connection to a backend server until it receives the data and closes the connection.
slbid
upstream_response_time_p50:slbid second 50th percentile request connection duration slbid
upstream_response_time_p90:slbid second 90th percentile of connection duration for requests slbid
upstream_response_time_p99:slbid second Request connection duration (99th percentile) slbid
write_response_time_avg:slbid second Average response time for the proxy to write to the client slbid
write_response_time_p50:slbid second 50th percentile of the proxy write response time slbid
write_response_time_p90:slbid second 90th percentile of the proxy write response time slbid
write_response_time_p99:slbid second 99th percentile of the proxy write response time slbid

status dimension

Metrics in this dimension use the slbid+host+status labels.

Metric Unit Description Label
pv:slbid:host:status count Access count by slbid, host, and status slbid+host+status
body_bytes_sent_avg:slbid:host:status byte Average number of bytes in the HTTP body sent to the client slbid+host+status
body_bytes_sent_sum:slbid:host:status byte Total number of bytes in the HTTP body sent to the client slbid+host+status
request_length_avg:slbid:host:status byte Average length of the request message slbid+host+status
request_length_sum:slbid:host:status byte Total length of the request message slbid+host+status
request_time_avg:slbid:host:status second Average request time slbid+host+status
request_time_p50:slbid:host:status second 50th percentile of request time slbid+host+status
request_time_p90:slbid:host:status second 90th percentile of request time slbid+host+status
request_time_p99:slbid:host:status second 99th percentile of request time slbid+host+status
upstream_response_time_avg:slbid:host:status second Average upstream response time
Note upstream_response_time is the duration from when Server Load Balancer establishes a connection to a backend server until it receives the data and closes the connection.
slbid+host+status
upstream_response_time_p50:slbid:host:status second 50th percentile request connection duration slbid+host+status
upstream_response_time_p90:slbid:host:status second 90th percentile of connection duration for requests slbid+host+status
upstream_response_time_p99:slbid:host:status second 99th percentile request connection duration slbid+host+status
write_response_time_avg:slbid:host:status second Average proxy write response time slbid+host+status
write_response_time_p50:slbid:host:status second 50th percentile of the proxy write response time slbid+host+status
write_response_time_p90:slbid:host:status second 90th percentile of the proxy write response time slbid+host+status
write_response_time_p99:slbid:host:status second 99th percentile of the proxy write response time slbid+host+status

upstream_status dimension

Metrics in this dimension use the slbid+host+status+request_method+upstream_status+url labels.

Metric Unit Description Label
pv:slbid:host:status:method:upstream_status count Number of accesses for each slbid, host, status, method, url, and upstream_status slbid+host+status+request_method+upstream_status+url
body_bytes_sent_avg:slbid:host:status:method:upstream_status byte Average number of bytes in the HTTP body sent to the client slbid+host+status+request_method+upstream_status+url
body_bytes_sent_sum:slbid:host:status:method:upstream_status byte Total number of bytes in the HTTP body sent to the client slbid+host+status+request_method+upstream_status+url
request_length_avg:slbid:host:status:method:upstream_status byte Average length of the request message slbid+host+status+request_method+upstream_status+url
request_length_sum:slbid:host:status:method:upstream_status byte Total length of the request message slbid+host+status+request_method+upstream_status+url
request_time_avg:slbid:host:status:method:upstream_status second Average request time slbid+host+status+request_method+upstream_status+url
request_time_p50:slbid:host:status:method:upstream_status second 50th percentile of request time slbid+host+status+request_method+upstream_status+url
request_time_p90:slbid:host:status:method:upstream_status second 90th percentile of request time slbid+host+status+request_method+upstream_status+url
request_time_p99:slbid:host:status:method:upstream_status second 99th percentile of request time slbid+host+status+request_method+upstream_status+url
upstream_response_time_avg:slbid:host:status:method:upstream_status second Average upstream response time
Note upstream_response_time is the duration from when Server Load Balancer establishes a connection to a backend server until it receives the data and closes the connection.
slbid+host+status+request_method+upstream_status+url
upstream_response_time_p50:slbid:host:status:method:upstream_status second 50th percentile of the request connection duration slbid+host+status+request_method+upstream_status+url
upstream_response_time_p90:slbid:host:status:method:upstream_status second 90th percentile of connection duration for requests slbid+host+status+request_method+upstream_status+url
upstream_response_time_p99:slbid:host:status:method:upstream_status second 99th percentile request connection duration slbid+host+status+request_method+upstream_status+url
write_response_time_avg:slbid:host:status:method:upstream_status second Average response time for proxy writes slbid+host+status+request_method+upstream_status+url
write_response_time_p50:slbid:host:status:method:upstream_status second 50th percentile of the proxy write response time slbid+host+status+request_method+upstream_status+url
write_response_time_p90:slbid:host:status:method:upstream_status second 90th percentile of the proxy write response time slbid+host+status+request_method+upstream_status+url
write_response_time_p99:slbid:host:status:method:upstream_status second 99th percentile of the proxy write response time slbid+host+status+request_method+upstream_status+url