All Products
Search
Document Center

Server Load Balancer:CLB monitoring metrics

Last Updated:Sep 30, 2024

If your Classic Load Balancer (CLB) instance encounters network issues, such as request timeouts and throttling, or you need to check the load and performance of your CLB instance, you can query the monitoring metrics of your CLB instance to perform analysis and troubleshooting. This topic describes the monitoring metrics of CLB.

Usage notes

To call the CloudMonitor API operations, you need to set the Namespace, Period, MetricName, and Dimensions parameters for your CLB instance as follows:

  • Set Namespace to acs_slb_dashboard.

  • Period defaults to 60 (in seconds) and you can also set it to a multiple of 60.

  • Set Dimensions to a JSON string. Example: [{"instanceId":"lb-bp1r92vzpemy099f******"}]. Set the instanceId field in Dimensions to the ID of your CLB instance, the port field to the port of your CLB instance, and the vip field to the service address of your CLB instance.

CLB monitoring metrics

Metrics that can be viewed by using the console, API, or SDK

Layer 4 monitoring metrics

Category

Metric

Description

MetricName

Dimensions

Statistics

Instance connection metrics

New instance connections

The number of new TCP and UDP connections per second on a CLB instance. Unit: Count/s

InstanceNewConnection

instanceId

Average, Minimum, and Maximum

Dropped instance connections

The number of TCP and UDP connections dropped per second on a CLB instance. Unit: Count/s

InstanceDropConnection

instanceId

Average, Minimum, and Maximum

Active instance connections

The number of TCP connections in the ESTABLISHED state on a CLB instance. Unit: Count

Note

A persistent connection can simultaneously transfer multiple file requests.

InstanceActiveConnection

instanceId

Average, Minimum, and Maximum

Inactive instance connections

The number of TCP connections not in the ESTABLISHED state as well as UDP connections on a CLB instance. Unit: Count

InstanceInactiveConnection

instanceId

Average, Minimum, and Maximum

Concurrent instance connections

The number of TCP and UDP connections processed by a CLB instance. Unit: Count

InstanceMaxConnection

instanceId

Average, Minimum, and Maximum

Instance bandwidth or traffic metrics

Inbound instance traffic

The TCP and UDP traffic received by a CLB instance. Unit: bit/s

InstanceTrafficRX

instanceId

Average, Minimum, and Maximum

Outbound instance traffic

The TCP and UDP traffic sent by a CLB instance per second. Unit: bit/s

InstanceTrafficTX

instanceId

Average, Minimum, and Maximum

Inbound instance packets

The number of TCP and UDP packets received by a CLB instance per second. Unit: Count/s

InstancePacketRX

instanceId

Average, Minimum, and Maximum

Outbound instance packets

The number of TCP and UDP packets sent by a CLB instance per second. Unit: Count/s

InstancePacketTX

instanceId

Average, Minimum, and Maximum

Dropped inbound instance traffic

The TCP and UDP traffic that a CLB instance fails to receive per second. Unit: bit/s

InstanceDropTrafficRX

instanceId

Average, Minimum, and Maximum

Dropped outbound instance traffic

The TCP and UDP traffic that a CLB instance fails to send per second. Unit: bit/s

InstanceDropTrafficTX

instanceId

Average, Minimum, and Maximum

Dropped inbound Instance packets

The number of TCP and UDP packets that a CLB instance fails to receive per second. Unit: Count/s

InstanceDropPacketRX

instanceId

Average, Minimum, and Maximum

Dropped outbound instance packets

The number of TCP and UDP packets that a CLB instance fails to send per second. Unit: Count/s

InstanceDropPacketTX

instanceId

Average, Minimum, and Maximum

Listener connection metrics

New listener connections

The number of new TCP or UDP connections per second on a listener port. Unit: Count/s

NewConnection

instanceId, port, and vip

Average, Minimum, and Maximum

Dropped listener connections

The number of TCP or UDP connections dropped per second on a listener port. Unit: Count/s

DropConnection

instanceId, port, and vip

Average, Minimum, and Maximum

Active listener connections

The number of TCP connections in the ESTABLISHED state on a listener port. Unit: Count

Note

A persistent connection can simultaneously transfer multiple file requests.

ActiveConnection

instanceId, port, and vip

Average, Minimum, and Maximum

Inactive listener connections

The number of TCP connections not in the ESTABLISHED state or UDP connections on a listener port. Unit: Count

InactiveConnection

instanceId, port, and vip

Average, Minimum, and Maximum

Concurrent listener connections

The number of TCP or UDP connections processed by a listener port. Unit: Count

MaxConnection

instanceId, port, and vip

Average, Minimum, and Maximum

Listener bandwidth or traffic metrics

Inbound listener traffic

The TCP or UDP traffic received by a listener port per second. Unit: bit/s

TrafficRXNew

instanceId, port, and vip

Average, Minimum, and Maximum

Outbound listener traffic

The TCP or UDP traffic sent by a listener port per second. Unit: bit/s

TrafficTXNew

instanceId, port, and vip

Average, Minimum, and Maximum

Inbound listener packets

The number of TCP or UDP packets received by a listener port per second. Unit: Count/s

PacketRX

instanceId, port, and vip

Average, Minimum, and Maximum

Outbound listener packets

The number of TCP or UDP packets sent by a listener port per second. Unit: Count/s

PacketTX

instanceId, port, and vip

Average, Minimum, and Maximum

Dropped inbound listener traffic

The TCP or UDP traffic that a listener port fails to receive per second. Unit: bit/s

DropTrafficRX

instanceId, port, and vip

Average, Minimum, and Maximum

Dropped outbound listener traffic

The TCP or UDP traffic that a listener port fails to send per second. Unit: bit/s

DropTrafficTX

instanceId, port, and vip

Average, Minimum, and Maximum

Dropped inbound listener packets

The number of TCP or UDP packets that a listener port fails to receive per second. Unit: Count/s

DropPacketRX

instanceId, port, and vip

Average, Minimum, and Maximum

Dropped outbound listener packets

The number of TCP or UDP packets that a listener port fails to send per second. Unit: Count/s

DropPacketTX

instanceId, port, and vip

Average, Minimum, and Maximum

Layer 7 monitoring metrics

Category

Metric

Description

MetricName

Dimensions

Statistics

Instance connection metric

Instance response time

The time taken for the client to send a request to the backend server and receive a response by using a CLB instance. Unit: ms

InstanceRt

instanceId

Average

Instance request metric

Instance QPS

The number of HTTP or HTTPS requests that a CLB instance processes per second. Unit: Count/s

InstanceQps

instanceId

Average

Instance status code metrics

Instance 2xx status codes

The number of 2xx Success status codes returned to the client from the backend server by using a CLB instance per second. Unit: Count/s

InstanceStatusCode2xx

instanceId

Average

Instance 3xx status codes

The number of 3xx Redirection status codes returned to the client from the backend server by using a CLB instance per second. Unit: Count/s

InstanceStatusCode3xx

instanceId

Average

Instance 4xx status codes

The number of 4xx Client Error status codes returned to the client from the backend server by using a CLB instance per second. Unit: Count/s

InstanceStatusCode4xx

instanceId

Average

Instance 5xx status codes

The number of 5xx Server Error status codes returned to the client from the backend server by using a CLB instance per second. Unit: Count/s

InstanceStatusCode5xx

instanceId

Average

Other instance status codes

The number of status codes except 2xx, 3xx, 4xx, and 5xx returned to the client from the backend server by using a CLB instance per second. Unit: Count/s

InstanceStatusCodeOther

instanceId

Average

Backend instance status code metrics

Instance UpstreamCode4xx

The number of 4xx Client Error status codes returned to a CLB instance from the backend server per second. Unit: Count/s

InstanceUpstreamCode4xx

instanceId

Average

Instance UpstreamCode5xx

The number of 5xx Server Error status codes returned to a CLB instance from the backend server per second. Unit: Count/s

InstanceUpstreamCode5xx

instanceId

Average

Listener connection metric

Listener response time

The time taken for the client to send a request to the backend server and receive a response by using a listener port. Unit: ms

Rt

instanceId, port, and vip

Average

Listener request metric

Listener QPS

The number of HTTP or HTTPS requests that a listener port processes per second. Unit: Count/s

Qps

instanceId, port, and vip

Average

Listener status code metrics

Listener 2xx status codes

The number of 2xx Success status codes returned to the client from the backend server by using a listener port per second. Unit: Count/s

StatusCode2xx

instanceId, port, and vip

Average

Listener 3xx status codes

The number of 3xx Redirection status codes returned to the client from the backend server by using a listener port per second. Unit: Count/s

StatusCode3xx

instanceId, port, and vip

Average

Listener 4xx status codes

The number of 4xx Client Error status codes returned to the client from the backend server by using a listener port per second. Unit: Count/s

StatusCode4xx

instanceId, port, and vip

Average

Listener 5xx status codes

The number of 5xx Server Error status codes returned to the client from the backend server by using a listener port per second. Unit: Count/s

StatusCode5xx

instanceId, port, and vip

Average

Other listener status codes

The number of status codes except 2xx, 3xx, 4xx, and 5xx returned to the client from the backend server by using a listener port per second. Unit: Count/s

StatusCodeOther

instanceId, port, and vip

Average

Backend listener status code metrics

Listener UpstreamCode4xx

The number of 4xx Client Error status codes returned to the CLB instance from the backend server by using a listener port per second. Unit: Count/s

UpstreamCode4xx

instanceId, port, and vip

Average

Listener UpstreamCode5xx

The number of 5xx Server Error status codes returned to the CLB instance from the backend server by using a listener port per second. Unit: Count/s

UpstreamCode5xx

instanceId, port, and vip

Average

Metrics that can be viewed by using the API or SDK

Layer 4 monitoring metrics

Category

Metric

Description

MetricName

Dimensions

Statistics

Listener health check metrics

Healthy Elastic Compute Service (ECS) instances

The number of healthy ECS instances that serve as backend servers for a listener port. Unit: Count

HeathyServerCount

instanceId, port, and vip

Average, Minimum, and Maximum

Unhealthy ECS instances

The number of unhealthy ECS instances that serve as backend servers for a listener port. Unit: Count

UnhealthyServerCount

instanceId, port, and vip

Average, Minimum, and Maximum

Instance connection metrics

Instance connection utilization

The ratio of established connections to the maximum connections for a CLB instance. Unit: %

InstanceMaxConnectionUtilization

instanceId

Average, Maximum, and Minimum

New instance connection utilization

The ratio of new connections to the maximum new connections for a CLB instance. Unit: %

InstanceNewConnectionUtilization

instanceId

Average, Maximum, and Minimum

Layer 7 monitoring metrics

Category

Metric

Description

MetricName

Dimensions

Statistics

Instance connection metric

Instance UpstreamRt

The time taken for a CLB instance to forward a request to the backend server and receive a response. Unit: ms

InstanceUpstreamRt

instanceId

Average

Instance request metric

QPS utilization

The ratio of requests processed to the maximum requests that can be processed by a CLB instance. Unit: %

InstanceQpsUtilization

instanceId

Average, Maximum, and Minimum

Listener connection metric

Listener UpstreamRt

The time taken for a listener port to forward a request to the backend server and receive a response. Unit: ms

UpstreamRt

instanceId, port, and vip

Average

References