Load balancing metrics

You can monitor the performance and health of your Google Cloud load-balanced applications and services using metrics provided by Cloud Monitoring. These metrics represent collections of measurements that help you maintain optimal operations. In Cloud Monitoring, each service or component under observation is called a monitored resource.

Use the following resources to find details about supported metric types, units used, and their metadata:

  • For a general explanation of the entries in the tables, see Metric types.

  • For information about the units used in the metric lists, see the unit field in the MetricDescriptor reference.

  • For information about statements of the form “Sampled every x seconds” and “After sampling, data is not visible for up to y seconds”, see Additional information: metadata.

  • For a set of complete, current lists of supported metric types, see Metrics list.

  • For pricing information, see Monitoring pricing.

The following table maps metric path prefixes to the load balancer types:

Metric path Load balancer
https/ Global external Application Load Balancer

Classic Application Load Balancer
https/external/regional Regional external Application Load Balancer
https/internal/ Cross-region internal Application Load Balancer

Regional internal Application Load Balancer
l3/external/ External passthrough Network Load Balancer
l3/internal/ Internal passthrough Network Load Balancer
tcp_ssl_proxy/ Classic proxy Network Load Balancer
l4_proxy/ Global external proxy Network Load Balancer

Cross-region internal proxy Network Load Balancer

Regional internal proxy Network Load Balancer

Regional external proxy Network Load Balancer

The "metric type" strings in this table must be prefixed with loadbalancing.googleapis.com/. That prefix has been omitted from the entries in the table. When querying a label, use the metric.labels. prefix; for example, metric.labels.LABEL="VALUE".

Metric type Launch stage (Resource hierarchy levels)
Display name
Kind, Type, Unit
Monitored resources
Description
Labels
application_lb/backend_latencies BETA  (project)
Backend latencies
DELTA, DISTRIBUTION, ms
gce_backend_service
A distribution of the latency calculated from when the request was sent by the Application Load Balancer proxy to the backend until the proxy received from the backend the last byte of response. For Service Extensions, this value represents the sum of latencies of each ProcessingRequest/ProcessingResponse pair between the load balancer and the extension backend.
protocol: Protocol used by the client: 'HTTP/1.0', 'HTTP/1.1', 'HTTP/2.0', 'QUIC/HTTP/2.0' or 'UNKNOWN'.
response_code: (INT64) HTTP response code.
response_code_class: (INT64) HTTP response code class: 200, 300, 400, 500 or 0 for none.
cache_result: Cache result for serving HTTP request by proxy: 'HIT', 'MISS', 'DISABLED' or 'UNKNOWN'.
matcher_type: The type of rule matched for the request: 'PATH_MATCHER' or 'DEFAULT_MATCH'. 'DEFAULT_MATCH' indicates that the default route rule or action was matched to the request.
matcher_name: Matched rule for the request. Label value is based on matcher_type. PATH_MATCHER type will be the name of the path matcher. DEFAULT_MATCH types will be empty.
matched_path: The prefix, exact, regex, or template URL path matcher that matched the request. 'UNMATCHED' for the sink default rule.
load_balancing_scheme: Load balancing scheme used by the Application Load Balancer: 'EXTERNAL_MANAGED' or 'INTERNAL_MANAGED'.
client_country: Country of the client where the traffic originated from, such as 'United States' or 'Germany'.
proxy_continent: Continent of the proxy where the traffic originated from, such as 'North America' or 'Europe'.
application_lb/backend_request_bytes_count BETA  (project)
Backend request bytes count per application load balancer
DELTA, INT64, By
gce_backend_service
The number of bytes sent as requests from the application load balancer to backends. For Service Extensions, this value represents the total number of bytes sent from the load balancer to the extension backend.
protocol: Protocol used by the client: 'HTTP/1.0', 'HTTP/1.1', 'HTTP/2.0', 'QUIC/HTTP/2.0' or 'UNKNOWN'.
response_code: (INT64) HTTP response code.
response_code_class: (INT64) HTTP response code class: 200, 300, 400, 500 or 0 for none.
cache_result: Cache result for serving HTTP request by proxy: 'HIT', 'MISS', 'DISABLED' or 'UNKNOWN'.
matcher_type: The type of rule matched for the request: 'PATH_MATCHER' or 'DEFAULT_MATCH'. 'DEFAULT_MATCH' indicates that the default route rule or action was matched to the request.
matcher_name: Matched rule for the request. Label value is based on matcher_type. PATH_MATCHER type will be the name of the path matcher. DEFAULT_MATCH types will be empty.
matched_path: The prefix, exact, regex, or template URL path matcher that matched the request. 'UNMATCHED' for the sink default rule.
load_balancing_scheme: Load balancing scheme used by the Application Load Balancer: 'EXTERNAL_MANAGED' or 'INTERNAL_MANAGED'.
client_country: Country of the client where the traffic originated from, such as 'United States' or 'Germany'.
proxy_continent: Continent of the proxy where the traffic originated from, such as 'North America' or 'Europe'.
application_lb/backend_request_count BETA  (project)
Backend request count per application load balancer
DELTA, INT64, 1
gce_backend_service
The number of requests served by backends of the application load balancer. For Service Extensions, this value represents the number of gRPC streams between the load balancer and the extension backend.
protocol: Protocol used by the client: 'HTTP/1.0', 'HTTP/1.1', 'HTTP/2.0', 'QUIC/HTTP/2.0' or 'UNKNOWN'.
response_code: (INT64) HTTP response code.
response_code_class: (INT64) HTTP response code class: 200, 300, 400, 500 or 0 for none.
cache_result: Cache result for serving HTTP request by proxy: 'HIT', 'MISS', 'DISABLED' or 'UNKNOWN'.
matcher_type: The type of rule matched for the request: 'PATH_MATCHER' or 'DEFAULT_MATCH'. 'DEFAULT_MATCH' indicates that the default route rule or action was matched to the request.
matcher_name: Matched rule for the request. Label value is based on matcher_type. PATH_MATCHER type will be the name of the path matcher. DEFAULT_MATCH types will be empty.
matched_path: The prefix, exact, regex, or template URL path matcher that matched the request. 'UNMATCHED' for the sink default rule.
load_balancing_scheme: Load balancing scheme used by the Application Load Balancer: 'EXTERNAL_MANAGED' or 'INTERNAL_MANAGED'.
client_country: Country of the client where the traffic originated from, such as 'United States' or 'Germany'.
proxy_continent: Continent of the proxy where the traffic originated from, such as 'North America' or 'Europe'.
application_lb/backend_response_bytes_count BETA  (project)
Backend response bytes count per application load balancer
DELTA, INT64, By
gce_backend_service
The number of bytes sent as response from backends to the application load balancer. For Service Extensions, this value represents the total number of bytes received by the load balancer from the extension backend.
protocol: Protocol used by the client: 'HTTP/1.0', 'HTTP/1.1', 'HTTP/2.0', 'QUIC/HTTP/2.0' or 'UNKNOWN'.
response_code: (INT64) HTTP response code.
response_code_class: (INT64) HTTP response code class: 200, 300, 400, 500 or 0 for none.
cache_result: Cache result for serving HTTP request by proxy: 'HIT', 'MISS', 'DISABLED' or 'UNKNOWN'.
matcher_type: The type of rule matched for the request: 'PATH_MATCHER' or 'DEFAULT_MATCH'. 'DEFAULT_MATCH' indicates that the default route rule or action was matched to the request.
matcher_name: Matched rule for the request. Label value is based on matcher_type. PATH_MATCHER type will be the name of the path matcher. DEFAULT_MATCH types will be empty.
matched_path: The prefix, exact, regex, or template URL path matcher that matched the request. 'UNMATCHED' for the sink default rule.
load_balancing_scheme: Load balancing scheme used by the Application Load Balancer: 'EXTERNAL_MANAGED' or 'INTERNAL_MANAGED'.
client_country: Country of the client where the traffic originated from, such as 'United States' or 'Germany'.
proxy_continent: Continent of the proxy where the traffic originated from, such as 'North America' or 'Europe'.
application_lb/request_bytes_count BETA  (project)
Request bytes
DELTA, INT64, By
gce_forwarding_rule
The number of request bytes received by the application load balancer. For Service Extensions, this value represents the total number of bytes sent from the load balancer to the extension backend.
protocol: Protocol used by the client: 'HTTP/1.0', 'HTTP/1.1', 'HTTP/2.0', 'QUIC/HTTP/2.0' or 'UNKNOWN'.
response_code: (INT64) HTTP response code.
response_code_class: (INT64) HTTP response code class: 200, 300, 400, 500 or 0 for none.
cache_result: Cache result for serving HTTP request by proxy: 'HIT', 'MISS', 'DISABLED' or 'UNKNOWN'.
matcher_type: The type of rule matched for the request: 'PATH_MATCHER' or 'DEFAULT_MATCH'. 'DEFAULT_MATCH' indicates that the default route rule or action was matched to the request.
matcher_name: Matched rule for the request. Label value is based on matcher_type. PATH_MATCHER type will be the name of the path matcher. DEFAULT_MATCH types will be empty.
matched_path: The prefix, exact, regex, or template URL path matcher that matched the request. 'UNMATCHED' for the sink default rule.
load_balancing_scheme: Load balancing scheme used by the Application Load Balancer: 'EXTERNAL_MANAGED' or 'INTERNAL_MANAGED'.
client_country: Country of the client where the traffic originated from, such as 'United States' or 'Germany'.
proxy_continent: Continent of the proxy where the traffic originated from, such as 'North America' or 'Europe'.
application_lb/request_count BETA  (project)
Request count
DELTA, INT64, 1
gce_forwarding_rule
The number of requests served by the application load balancer.
protocol: Protocol used by the client: 'HTTP/1.0', 'HTTP/1.1', 'HTTP/2.0', 'QUIC/HTTP/2.0' or 'UNKNOWN'.
response_code: (INT64) HTTP response code.
response_code_class: (INT64) HTTP response code class: 200, 300, 400, 500 or 0 for none.
cache_result: Cache result for serving HTTP request by proxy: 'HIT', 'MISS', 'DISABLED' or 'UNKNOWN'.
matcher_type: The type of rule matched for the request: 'PATH_MATCHER' or 'DEFAULT_MATCH'. 'DEFAULT_MATCH' indicates that the default route rule or action was matched to the request.
matcher_name: Matched rule for the request. Label value is based on matcher_type. PATH_MATCHER type will be the name of the path matcher. DEFAULT_MATCH types will be empty.
matched_path: The prefix, exact, regex, or template URL path matcher that matched the request. 'UNMATCHED' for the sink default rule.
load_balancing_scheme: Load balancing scheme used by the Application Load Balancer: 'EXTERNAL_MANAGED' or 'INTERNAL_MANAGED'.
client_country: Country of the client where the traffic originated from, such as 'United States' or 'Germany'.
proxy_continent: Continent of the proxy where the traffic originated from, such as 'North America' or 'Europe'.
application_lb/response_bytes_count BETA  (project)
Response bytes
DELTA, INT64, By
gce_forwarding_rule
The number of bytes sent as responses from the application load balancer to clients.
protocol: Protocol used by the client: 'HTTP/1.0', 'HTTP/1.1', 'HTTP/2.0', 'QUIC/HTTP/2.0' or 'UNKNOWN'.
response_code: (INT64) HTTP response code.
response_code_class: (INT64) HTTP response code class: 200, 300, 400, 500 or 0 for none.
cache_result: Cache result for serving HTTP request by proxy: 'HIT', 'MISS', 'DISABLED' or 'UNKNOWN'.
matcher_type: The type of rule matched for the request: 'PATH_MATCHER' or 'DEFAULT_MATCH'. 'DEFAULT_MATCH' indicates that the default route rule or action was matched to the request.
matcher_name: Matched rule for the request. Label value is based on matcher_type. PATH_MATCHER type will be the name of the path matcher. DEFAULT_MATCH types will be empty.
matched_path: The prefix, exact, regex, or template URL path matcher that matched the request. 'UNMATCHED' for the sink default rule.
load_balancing_scheme: Load balancing scheme used by the Application Load Balancer: 'EXTERNAL_MANAGED' or 'INTERNAL_MANAGED'.
client_country: Country of the client where the traffic originated from, such as 'United States' or 'Germany'.
proxy_continent: Continent of the proxy where the traffic originated from, such as 'North America' or 'Europe'.
application_lb/total_latencies BETA  (project)
Total latencies
DELTA, DISTRIBUTION, ms
gce_forwarding_rule
A distribution of the latency calculated from when the request was received by the proxy until the proxy got ACK from client on last response byte.
protocol: Protocol used by the client: 'HTTP/1.0', 'HTTP/1.1', 'HTTP/2.0', 'QUIC/HTTP/2.0' or 'UNKNOWN'.
response_code: (INT64) HTTP response code.
response_code_class: (INT64) HTTP response code class: 200, 300, 400, 500 or 0 for none.
cache_result: Cache result for serving HTTP request by proxy: 'HIT', 'MISS', 'DISABLED' or 'UNKNOWN'.
matcher_type: The type of rule matched for the request: 'PATH_MATCHER' or 'DEFAULT_MATCH'. 'DEFAULT_MATCH' indicates that the default route rule or action was matched to the request.
matcher_name: Matched rule for the request. Label value is based on matcher_type. PATH_MATCHER type will be the name of the path matcher. DEFAULT_MATCH types will be empty.
matched_path: The prefix, exact, regex, or template URL path matcher that matched the request. 'UNMATCHED' when a default (empty) path was matched.
load_balancing_scheme: Load balancing scheme used by the Application Load Balancer: 'EXTERNAL_MANAGED' or 'INTERNAL_MANAGED'.
client_country: Country of the client where the traffic originated from, such as 'United States' or 'Germany'.
proxy_continent: Continent of the proxy where the traffic originated from, such as 'North America' or 'Europe'.
https/backend_latencies GA  (project)
Backend latency
DELTA, DISTRIBUTION, ms
https_lb_rule
A distribution of the latency calculated from when the request was sent by the proxy to the backend until the proxy received from the backend the last byte of response. For Service Extensions, this value represents the sum of latencies of each ProcessingRequest/ProcessingResponse pair between the load balancer and the extension backend. Sampled every 60 seconds. After sampling, data is not visible for up to 210 seconds.
protocol: Protocol used by the client, one of [HTTP/1.0, HTTP/1.1, HTTP/2.0, SPDY, UNKNOWN].
response_code: (INT64) HTTP response code.
load_balancing_scheme: Load balancing scheme: EXTERNAL or EXTERNAL_MANAGED.
response_code_class: (INT64) HTTP response code class: 200, 300, 400, 500 or 0 for none.
proxy_continent: Continent of the HTTP proxy that handled the hit: 'America', 'Europe' or 'Asia'.
cache_result: Cache result for serving HTTP request by proxy: 'HIT', 'MISS', 'DISABLED' or 'UNKNOWN'.
client_country: Country of the client that issued the HTTP request (for example, 'United States', 'Germany').
https/backend_request_bytes_count GA  (project)
Backend Request Bytes
DELTA, INT64, By
https_lb_rule
The number of bytes sent as requests from external HTTP(S) load balancer to backends. For Service Extensions, this value represents the total number of bytes sent from the load balancer to the extension backend. Sampled every 60 seconds. After sampling, data is not visible for up to 210 seconds.
response_code: (INT64) HTTP backend response code.
load_balancing_scheme: Load balancing scheme: EXTERNAL or EXTERNAL_MANAGED.
response_code_class: (INT64) HTTP backend response code class: 200, 300, 400, 500 or 0 for none.
proxy_continent: Continent of the HTTP proxy that handled the request: 'America', 'Europe' or 'Asia'.
cache_result: Cache result for serving the HTTP request by backends (cache hits are abstracted as backend requests): 'HIT', 'MISS', 'DISABLED' or 'UNKNOWN'.
https/backend_request_count GA  (project)
Backend Request Count
DELTA, INT64, 1
https_lb_rule
The number of requests served by backends of external HTTP(S) load balancer. For Service Extensions, this value represents the total number of gRPC streams between the load balancer to the extension backend. Sampled every 60 seconds. After sampling, data is not visible for up to 210 seconds.
response_code: (INT64) HTTP backend response code.
load_balancing_scheme: Load balancing scheme: EXTERNAL or EXTERNAL_MANAGED.
response_code_class: (INT64) HTTP backend response code class: 200, 300, 400, 500 or 0 for none.
proxy_continent: Continent of the HTTP proxy that handled the request: 'America', 'Europe' or 'Asia'.
cache_result: Cache result for serving the HTTP request by backends (cache hits are abstracted as backend requests): 'HIT', 'MISS', 'DISABLED' or 'UNKNOWN'.
https/backend_response_bytes_count GA  (project)
Backend Response Bytes
DELTA, INT64, By
https_lb_rule
The number of bytes sent as responses from backends (or cache) to external HTTP(S) load balancer. For Service Extensions, this value represents the total number of bytes received by the load balancer from the extension backend. Sampled every 60 seconds. After sampling, data is not visible for up to 210 seconds.
response_code: (INT64) HTTP backend response code.
load_balancing_scheme: Load balancing scheme: EXTERNAL or EXTERNAL_MANAGED.
response_code_class: (INT64) HTTP backend response code class: 200, 300, 400, 500 or 0 for none.
proxy_continent: Continent of the HTTP proxy that handled the request: 'America', 'Europe' or 'Asia'.
cache_result: Cache result for serving the HTTP request by backends (cache hits are abstracted as backend requests): 'HIT', 'MISS', 'DISABLED' or 'UNKNOWN'.
https/external/regional/backend_latencies GA  (project)
Backend latencies
DELTA, DISTRIBUTION, ms
http_external_regional_lb_rule
A distribution of the latency calculated from when the request was sent by the proxy to the backend until the proxy received from the backend the last byte of response. For Service Extensions, this value represents the sum of latencies of each ProcessingRequest/ProcessingResponse pair between the load balancer and the extension backend. Sampled every 60 seconds. After sampling, data is not visible for up to 210 seconds.
protocol: Protocol used by the client: 'HTTP/1.0', 'HTTP/1.1', 'HTTP/2.0', 'QUIC/HTTP/2.0' or 'UNKNOWN'.
response_code: (INT64) HTTP response code.
response_code_class: (INT64) HTTP response code class: 200, 300, 400, 500 or 0 for none.
cache_result: Cache result for serving HTTP request by proxy: 'HIT', 'MISS', 'DISABLED' or 'UNKNOWN'.
client_country: Country of the client that issued the HTTP request (e.g. 'United States', 'Germany').
https/external/regional/backend_request_bytes_count GA  (project)
Backend request bytes count per external regional https load balancer
DELTA, INT64, By
http_external_regional_lb_rule
The number of bytes sent as requests from Regional External HTTP(S) load balancer to backends. For Service Extensions, this value represents the total number of bytes sent from the load balancer to the extension backend. Sampled every 60 seconds. After sampling, data is not visible for up to 90 seconds.
response_code: (INT64) HTTP response code.
response_code_class: (INT64) HTTP response code class: 200, 300, 400, 500 or 0 for none.
https/external/regional/backend_request_count GA  (project)
Backend request count per external regional https load balancer
DELTA, INT64, 1
http_external_regional_lb_rule
The number of requests served by backends of Regional External HTTP(S) load balancer. For Service Extensions, this value represents the total number of gRPC streams between the load balancer to the extension backend. Sampled every 60 seconds. After sampling, data is not visible for up to 90 seconds.
response_code: (INT64) HTTP response code.
response_code_class: (INT64) HTTP response code class: 200, 300, 400, 500 or 0 for none.
https/external/regional/backend_response_bytes_count GA  (project)
Backend response bytes count per external regional https load balancer
DELTA, INT64, By
http_external_regional_lb_rule
The number of bytes sent as response from backends to Regional External HTTP(S) load balancer. For Service Extensions, this value represents the total number of bytes received by the load balancer from the extension backend. Sampled every 60 seconds. After sampling, data is not visible for up to 90 seconds.
response_code: (INT64) HTTP response code.
response_code_class: (INT64) HTTP response code class: 200, 300, 400, 500 or 0 for none.
https/external/regional/request_bytes_count GA  (project)
Request bytes
DELTA, INT64, By
http_external_regional_lb_rule
The number of bytes sent as requests from clients to HTTP/S load balancer. Sampled every 60 seconds. After sampling, data is not visible for up to 90 seconds.
protocol: Protocol used by the client: 'HTTP/1.0', 'HTTP/1.1', 'HTTP/2.0', 'QUIC/HTTP/2.0' or 'UNKNOWN'.
response_code: (INT64) HTTP response code.
response_code_class: (INT64) HTTP response code class: 200, 300, 400, 500 or 0 for none.
cache_result: Cache result for serving HTTP request by proxy: 'HIT', 'MISS', 'DISABLED' or 'UNKNOWN'.
client_country: Country of the client that issued the HTTP request (e.g. 'United States', 'Germany').
https/external/regional/request_count GA  (project)
Request count
DELTA, INT64, 1
http_external_regional_lb_rule
The number of requests served by HTTP/S load balancer. Sampled every 60 seconds. After sampling, data is not visible for up to 90 seconds.
protocol: Protocol used by the client: 'HTTP/1.0', 'HTTP/1.1', 'HTTP/2.0', 'QUIC/HTTP/2.0' or 'UNKNOWN'.
response_code: (INT64) HTTP response code.
response_code_class: (INT64) HTTP response code class: 200, 300, 400, 500 or 0 for none.
cache_result: Cache result for serving HTTP request by proxy: 'HIT', 'MISS', 'DISABLED' or 'UNKNOWN'.
client_country: Country of the client that issued the HTTP request (e.g. 'United States', 'Germany').
https/external/regional/response_bytes_count GA  (project)
Response bytes
DELTA, INT64, By
http_external_regional_lb_rule
The number of bytes sent as responses from HTTP/S load balancer to clients. Sampled every 60 seconds. After sampling, data is not visible for up to 90 seconds.
protocol: Protocol used by the client: 'HTTP/1.0', 'HTTP/1.1', 'HTTP/2.0', 'QUIC/HTTP/2.0' or 'UNKNOWN'.
response_code: (INT64) HTTP response code.
response_code_class: (INT64) HTTP response code class: 200, 300, 400, 500 or 0 for none.
cache_result: Cache result for serving HTTP request by proxy: 'HIT', 'MISS', 'DISABLED' or 'UNKNOWN'.
client_country: Country of the client that issued the HTTP request (e.g. 'United States', 'Germany').
https/external/regional/total_latencies GA  (project)
Total latencies
DELTA, DISTRIBUTION, ms
http_external_regional_lb_rule
A distribution of the latency calculated from when the request was received by the proxy until the proxy got ACK from client on last response byte. Sampled every 60 seconds. After sampling, data is not visible for up to 90 seconds.
protocol: Protocol used by the client: 'HTTP/1.0', 'HTTP/1.1', 'HTTP/2.0', 'QUIC/HTTP/2.0' or 'UNKNOWN'.
response_code: (INT64) HTTP response code.
response_code_class: (INT64) HTTP response code class: 200, 300, 400, 500 or 0 for none.
cache_result: Cache result for serving HTTP request by proxy: 'HIT', 'MISS', 'DISABLED' or 'UNKNOWN'.
client_country: Country of the client that issued the HTTP request (e.g. 'United States', 'Germany').
https/frontend_tcp_rtt GA  (project)
Frontend RTT
DELTA, DISTRIBUTION, ms
https_lb_rule
A distribution of the RTT measured for each connection between client and proxy. Sampled every 60 seconds. After sampling, data is not visible for up to 210 seconds.
load_balancing_scheme: Load balancing scheme: EXTERNAL or EXTERNAL_MANAGED.
proxy_continent: Continent of the HTTP proxy that handled the hit: 'America', 'Europe' or 'Asia'.
client_country: Country of the client that issued the HTTP request (for example, 'United States', 'Germany').
https/internal/backend_latencies GA  (project)
Backend latencies
DELTA, DISTRIBUTION, ms
internal_http_lb_rule
A distribution of the latency calculated from when the request was sent by the internal Application Load Balancer proxy to the backend until the proxy received from the backend the last byte of response. For Service Extensions, this value represents the sum of latencies of each ProcessingRequest/ProcessingResponse pair between the load balancer and the extension backend. Sampled every 60 seconds. After sampling, data is not visible for up to 90 seconds.
protocol: Protocol used by the client: 'HTTP/1.0', 'HTTP/1.1', 'HTTP/2.0', 'SPDY' or 'UNKNOWN'.
response_code: (INT64) HTTP response code.
response_code_class: (INT64) HTTP response code class: 200, 300, 400, 500 or 0 for none.
cache_result: Cache result for serving HTTP request by proxy: 'HIT', 'MISS', 'DISABLED' or 'UNKNOWN'.