This topic describes the metrics provided by Classic Load Balancer (CLB) for Layer 4 and Layer 7 protocols. You can create alert rules and set thresholds based on metrics to trigger alerts.
Usage notes
- You can call API operations to query monitoring data within the last 31 days.
- Set Project to acs_slb_dashboard, and set the data sampling period to 60 seconds. The Period parameter can be set only to a multiple of 60.
- Set the Dimensions parameter to a JSON string. Example:
[{"instanceId":"lb-bp1r92vzpemy099f******"}]
.In Dimensions, instanceId specifies the ID of the CLB instance, port specifies the port number of the CLB instance, and vip specifies the service address of the CLB instance.
Metrics for Layer 4 protocols
Metric | Description | Unit | Dimensions | Statistics |
---|---|---|---|---|
HeathyServerCount | The number of healthy Elastic Compute Service (ECS) instances. | Count | instanceId | Average, Minimum, and Maximum |
UnhealthyServerCount | The number of unhealthy ECS instances. | Count | instanceId | Average, Minimum, and Maximum |
PacketTX | The number of outbound packets sent per second on a port. | Count/Second | instanceId, port, and vip | Average, Minimum, and Maximum |
PacketRX | The number of inbound packets received per second on a port. | Count/Second | instanceId, port, and vip | Average, Minimum, and Maximum |
TrafficRXNew | The amount of data received per second on a port. | bit/s | instanceId, port, and vip | Average, Minimum, and Maximum |
TrafficTXNew | The amount of data sent per second on a port. | bit/s | instanceId, port, and vip | Average, Minimum, and Maximum |
ActiveConnection | The number of active connections on a port, which is the number of connections that are currently in use. The metric includes all TCP and UDP connections that are in the ESTABLISHED state. If persistent connections are used, a connection can transfer multiple file requests simultaneously. | Count | instanceId, port, and vip | Average, Minimum, and Maximum |
InactiveConnection | The number of inactive connections on a port. The metric includes all TCP and UDP connections that are not in the ESTABLISHED state. | Count | instanceId, port, and vip | Average, Minimum, and Maximum |
NewConnection | The number of new TCP connections established between clients and a CLB instance within a statistical period. | Count | instanceId, port, and vip | Average, Minimum, and Maximum |
MaxConnection | The number of all established TCP and UDP connections. | Count | instanceId, port, and vip | Average, Minimum, and Maximum |
DropConnection | The number of connections dropped per second on a listener. | Count/Second | instanceId, port, and vip | Average, Minimum, and Maximum |
DropPacketRX | The number of inbound packets dropped per second on a listener. | Count/Second | instanceId, port, and vip | Average, Minimum, and Maximum |
DropPacketTX | The number of outbound packets dropped per second on a listener. | Count/Second | instanceId, port, and vip | Average, Minimum, and Maximum |
DropTrafficRX | The amount of inbound traffic dropped per second. | bit/s | instanceId, port, and vip | Average, Minimum, and Maximum |
DropTrafficTX | The amount of outbound traffic dropped per second. | bit/s | instanceId, port, and vip | Average, Minimum, and Maximum |
InstanceActiveConnection | The number of active connections per second on an instance. | Count/Second | instanceId | Average, Minimum, and Maximum |
InstanceDropConnection | The number of connections dropped per second on an instance. | Count/Second | instanceId | Average, Minimum, and Maximum |
InstanceDropPacketRX | The number of inbound packets dropped per second on an instance. | Count/Second | instanceId | Average, Minimum, and Maximum |
InstanceDropPacketTX | The number of outbound packets dropped per second on an instance. | Count/Second | instanceId | Average, Minimum, and Maximum |
InstanceDropTrafficRX | The amount of inbound traffic dropped per second on an instance. | bit/s | instanceId | Average, Minimum, and Maximum |
InstanceDropTrafficTX | The amount of outbound traffic dropped per second on an instance. | bit/s | instanceId | Average, Minimum, and Maximum |
InstanceInactiveConnection | The number of inactive connections per second on an instance. | Count/Second | instanceId | Average, Minimum, and Maximum |
InstanceMaxConnection | The maximum number of concurrent connections per second on an instance. | Count/Second | instanceId | Average, Minimum, and Maximum |
InstanceNewConnection | The number of new connections per second on an instance. | Count/Second | instanceId | Average, Minimum, and Maximum |
InstancePacketRX | The number of packets received by a CLB instance per second. | Count/Second | instanceId | Average, Minimum, and Maximum |
InstancePacketTX | The number of packets sent by a CLB instance per second. | Count/Second | instanceId | Average, Minimum, and Maximum |
InstanceTrafficRX | The traffic consumed to access a CLB instance from the Internet. | bit/s | instanceId | Average, Minimum, and Maximum |
InstanceTrafficTX | The traffic consumed by a CLB instance to access the Internet. | bit/s | instanceId | Average, Minimum, and Maximum |
InstanceMaxConnectionUtilization | The utilization of maximum connections. | % | instanceId | Average, Maximum, and Minimum |
InstanceNewConnectionUtilization | The utilization of new connections. | % | instanceId | Average, Maximum, and Minimum |
Metrics for Layer 7 protocols
Metric | Description | Unit | Dimensions | Statistics |
---|---|---|---|---|
Qps | The queries per second (QPS) on a port, which indicates the number of HTTP and HTTPS requests processed per second. | Count/Second | instanceId, port, and vip | Average |
Rt | The average latency of requests on a port, which indicates the average response time of a CLB instance. | ms | instanceId, port, and vip | Average |
StatusCode2xx | The number of 2xx status codes returned by a CLB instance to clients through a port. | Count/Second | instanceId, port, and vip | Average |
StatusCode3xx | The number of 3xx status codes returned by a CLB instance to clients through a port. | Count/Second | instanceId, port, and vip | Average |
StatusCode4xx | The number of 4xx status codes returned by a CLB instance to clients through a port. | Count/Second | instanceId, port, and vip | Average |
StatusCode5xx | The number of 5xx status codes returned by a CLB instance to clients through a port. | Count/Second | instanceId, port, and vip | Average |
StatusCodeOther | The number of other status codes returned by a CLB instance to clients through a port. | Count/Second | instanceId, port, and vip | Average |
UpstreamCode4xx | The number of 4xx status codes returned by backend servers to a CLB instance through a port. | Count/Second | instanceId, port, and vip | Average |
UpstreamCode5xx | The number of 5xx status codes returned by backend servers to clients through a port. | Count/Second | instanceId, port, and vip | Average |
UpstreamRt | The average latency of requests sent by backend servers to the proxy through a port. | ms | instanceId, port, and vip | Average |
InstanceQps | The QPS on an instance, which indicates the number of HTTP and HTTPS requests processed per second. | Count/Second | instanceId | Average |
InstanceRt | The average response latency of an instance. | ms | instanceId | Average |
InstanceStatusCode2xx | The number of 2xx status codes returned by a CLB instance to clients. | Count/Second | instanceId | Average |
InstanceStatusCode3xx | The number of 3xx status codes returned by a CLB instance to clients. | Count/Second | instanceId | Average |
InstanceStatusCode4xx | The number of 4xx status codes returned by a CLB instance to clients. | Count/Second | instanceId | Average |
InstanceStatusCode5xx | The number of 5xx status codes returned by a CLB instance to clients. | Count/Second | instanceId | Average |
InstanceStatusCodeOther | The number of other status codes returned by a CLB instance to clients. | Count/Second | instanceId | Average |
InstanceUpstreamCode4xx | The number of 4xx status codes returned by backend servers to a CLB instance. | Count/Second | instanceId | Average |
InstanceUpstreamCode5xx | The number of 5xx status codes returned by backend servers to a CLB instance. | Count/Second | instanceId | Average |
InstanceUpstreamRt | The average latency of requests sent by backend servers to the proxy. | ms | instanceId | Average |
InstanceQpsUtilization | The QPS usage. | % | instanceId | Average, Maximum, and Minimum |