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

MetricDescriptionUnitDimensionsStatistics
HeathyServerCountThe number of healthy Elastic Compute Service (ECS) instances. CountinstanceIdAverage, Minimum, and Maximum
UnhealthyServerCountThe number of unhealthy ECS instances. CountinstanceIdAverage, Minimum, and Maximum
PacketTXThe number of outbound packets sent per second on a port. Count/SecondinstanceId, port, and vipAverage, Minimum, and Maximum
PacketRXThe number of inbound packets received per second on a port. Count/SecondinstanceId, port, and vipAverage, Minimum, and Maximum
TrafficRXNewThe amount of data received per second on a port. bit/sinstanceId, port, and vipAverage, Minimum, and Maximum
TrafficTXNewThe amount of data sent per second on a port. bit/sinstanceId, port, and vipAverage, Minimum, and Maximum
ActiveConnectionThe 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.

CountinstanceId, port, and vipAverage, Minimum, and Maximum
InactiveConnectionThe number of inactive connections on a port.

The metric includes all TCP and UDP connections that are not in the ESTABLISHED state.

CountinstanceId, port, and vipAverage, Minimum, and Maximum
NewConnectionThe number of new TCP connections established between clients and a CLB instance within a statistical period. CountinstanceId, port, and vipAverage, Minimum, and Maximum
MaxConnectionThe number of all established TCP and UDP connections. CountinstanceId, port, and vipAverage, Minimum, and Maximum
DropConnectionThe number of connections dropped per second on a listener. Count/SecondinstanceId, port, and vipAverage, Minimum, and Maximum
DropPacketRXThe number of inbound packets dropped per second on a listener. Count/SecondinstanceId, port, and vipAverage, Minimum, and Maximum
DropPacketTXThe number of outbound packets dropped per second on a listener. Count/SecondinstanceId, port, and vipAverage, Minimum, and Maximum
DropTrafficRXThe amount of inbound traffic dropped per second. bit/sinstanceId, port, and vipAverage, Minimum, and Maximum
DropTrafficTXThe amount of outbound traffic dropped per second. bit/sinstanceId, port, and vipAverage, Minimum, and Maximum
InstanceActiveConnectionThe number of active connections per second on an instance. Count/SecondinstanceIdAverage, Minimum, and Maximum
InstanceDropConnectionThe number of connections dropped per second on an instance. Count/SecondinstanceIdAverage, Minimum, and Maximum
InstanceDropPacketRXThe number of inbound packets dropped per second on an instance. Count/SecondinstanceIdAverage, Minimum, and Maximum
InstanceDropPacketTXThe number of outbound packets dropped per second on an instance. Count/SecondinstanceIdAverage, Minimum, and Maximum
InstanceDropTrafficRXThe amount of inbound traffic dropped per second on an instance. bit/sinstanceIdAverage, Minimum, and Maximum
InstanceDropTrafficTXThe amount of outbound traffic dropped per second on an instance. bit/sinstanceIdAverage, Minimum, and Maximum
InstanceInactiveConnectionThe number of inactive connections per second on an instance. Count/SecondinstanceIdAverage, Minimum, and Maximum
InstanceMaxConnectionThe maximum number of concurrent connections per second on an instance. Count/SecondinstanceIdAverage, Minimum, and Maximum
InstanceNewConnectionThe number of new connections per second on an instance. Count/SecondinstanceIdAverage, Minimum, and Maximum
InstancePacketRXThe number of packets received by a CLB instance per second. Count/SecondinstanceIdAverage, Minimum, and Maximum
InstancePacketTXThe number of packets sent by a CLB instance per second. Count/SecondinstanceIdAverage, Minimum, and Maximum
InstanceTrafficRXThe traffic consumed to access a CLB instance from the Internet. bit/sinstanceIdAverage, Minimum, and Maximum
InstanceTrafficTXThe traffic consumed by a CLB instance to access the Internet. bit/sinstanceIdAverage, Minimum, and Maximum
InstanceMaxConnectionUtilizationThe utilization of maximum connections. %instanceIdAverage, Maximum, and Minimum
InstanceNewConnectionUtilizationThe utilization of new connections. %instanceIdAverage, Maximum, and Minimum

Metrics for Layer 7 protocols

MetricDescriptionUnitDimensionsStatistics
QpsThe queries per second (QPS) on a port, which indicates the number of HTTP and HTTPS requests processed per second. Count/SecondinstanceId, port, and vipAverage
RtThe average latency of requests on a port, which indicates the average response time of a CLB instance. msinstanceId, port, and vipAverage
StatusCode2xxThe number of 2xx status codes returned by a CLB instance to clients through a port. Count/SecondinstanceId, port, and vipAverage
StatusCode3xxThe number of 3xx status codes returned by a CLB instance to clients through a port. Count/SecondinstanceId, port, and vipAverage
StatusCode4xxThe number of 4xx status codes returned by a CLB instance to clients through a port. Count/SecondinstanceId, port, and vipAverage
StatusCode5xxThe number of 5xx status codes returned by a CLB instance to clients through a port. Count/SecondinstanceId, port, and vipAverage
StatusCodeOtherThe number of other status codes returned by a CLB instance to clients through a port. Count/SecondinstanceId, port, and vipAverage
UpstreamCode4xxThe number of 4xx status codes returned by backend servers to a CLB instance through a port. Count/SecondinstanceId, port, and vipAverage
UpstreamCode5xxThe number of 5xx status codes returned by backend servers to clients through a port. Count/SecondinstanceId, port, and vipAverage
UpstreamRtThe average latency of requests sent by backend servers to the proxy through a port. msinstanceId, port, and vipAverage
InstanceQpsThe QPS on an instance, which indicates the number of HTTP and HTTPS requests processed per second. Count/SecondinstanceIdAverage
InstanceRtThe average response latency of an instance. msinstanceIdAverage
InstanceStatusCode2xxThe number of 2xx status codes returned by a CLB instance to clients. Count/SecondinstanceIdAverage
InstanceStatusCode3xxThe number of 3xx status codes returned by a CLB instance to clients. Count/SecondinstanceIdAverage
InstanceStatusCode4xxThe number of 4xx status codes returned by a CLB instance to clients.Count/SecondinstanceIdAverage
InstanceStatusCode5xxThe number of 5xx status codes returned by a CLB instance to clients. Count/SecondinstanceIdAverage
InstanceStatusCodeOtherThe number of other status codes returned by a CLB instance to clients. Count/SecondinstanceIdAverage
InstanceUpstreamCode4xxThe number of 4xx status codes returned by backend servers to a CLB instance. Count/SecondinstanceIdAverage
InstanceUpstreamCode5xxThe number of 5xx status codes returned by backend servers to a CLB instance. Count/SecondinstanceIdAverage
InstanceUpstreamRtThe average latency of requests sent by backend servers to the proxy. msinstanceIdAverage
InstanceQpsUtilizationThe QPS usage. %instanceIdAverage, Maximum, and Minimum