All Products
Search
Document Center

Server Load Balancer:ALB monitoring metrics

Last Updated:Jan 26, 2024

If requests to your Application Load Balancer (ALB) instance time out or trigger network issues such as throttling, you can check the monitoring metrics of the ALB instance to troubleshoot errors and check the load and performance of the ALB instance. This topic describes the monitoring metrics of ALB.

Background information

Before you call the CloudMonitor API, you must obtain the values of the Namespace, Period, MetricName, and Dimensions parameters of ALB.

  • Set the Namespace parameter to acs_alb.

  • Set the Period parameter to a multiple of 60. Default value: 60. Unit: seconds.

  • Set the Dimensions to a JSON string, such as [{"loadBalancerId":"alb-t93aj3yndojot5****"}]. Replace loadBalancerId in the Dimensions parameter with the ID of the ALB instance.

ALB monitoring metrics

  • In the MetricName column of the following table, metrics without the DualStack_ prefix do not display the IPv4 values and IPv6 values of an ALB instance separately.

    • If the ALB instance uses IPv4, metrics without the DualStack_ prefix display only IPv4 values.

    • If the ALB instance uses dual stack, metrics without the DualStack_ prefix display the sum of IPv4 values and IPv6 values.

  • In the MetricName column of the following table, metrics with the DualStack_ prefix display IPv4 values and IPv6 values separately.

    • If the ALB instance uses IPv4, the IPv6 value of a metric with the DualStack_ prefix is 0.0, and the IPv4 value of the metric is the actual value.

    • If the ALB instance uses dual stack, a metric with the DualStack_ prefix displays both the IPv4 value and IPv6 value.

In the following table, a hyphen (-) indicates a metric without the DualStack_ prefix, which does not display the IPv4 value and IPv6 value separately.

Instance metrics

Metric

Unit

Metric name

Dimension

Statistics

LoadBalancerActiveConnection

Count

LoadBalancerActiveConnection

DualStack_LoadBalancerActiveConnection

userId and loadBalancerId

Value

LoadBalancerUpstreamTLSNegotiationError

Count/s

LoadBalancerUpstreamTLSNegotiationError

DualStack_LoadBalancerUpstreamTLSNegotiationError

userId and loadBalancerId

Value

LoadBalancerNewConnection

Count/s

LoadBalancerNewConnection

DualStack_LoadBalancerNewConnection

userId and loadBalancerId

Value

LoadBalancerRejectedConnection

Count/s

LoadBalancerRejectedConnection

DualStack_LoadBalancerRejectedConnection

userId and loadBalancerId

Value

LoadBalancerUpstreamConnectionError

Count/s

LoadBalancerUpstreamConnectionError

DualStack_LoadBalancerUpstreamConnectionError

userId and loadBalancerId

Value

LoadBalancerClientTLSNegotiationError

Count/s

LoadBalancerClientTLSNegotiationError

DualStack_LoadBalancerClientTLSNegotiationError

userId and loadBalancerId

Value

LoadBalancerHTTPFixedResponse

Count/s

LoadBalancerHTTPFixedResponse

DualStack_LoadBalancerHTTPFixedResponse

userId and loadBalancerId

Value

LoadBalancerHTTPRedirect

Count/s

LoadBalancerHTTPRedirect

DualStack_LoadBalancerHTTPRedirect

userId and loadBalancerId

Value

LoadBalancerQPS

Count/s

LoadBalancerQPS

DualStack_LoadBalancerQPS

userId and loadBalancerId

Value

LoadBalancerNonStickyRequest

Count/s

LoadBalancerNonStickyRequest

DualStack_LoadBalancerNonStickyRequest

userId and loadBalancerId

Value

LoadBalancerUpstreamResponseTime

ms

LoadBalancerUpstreamResponseTime

DualStack_LoadBalancerUpstreamResponseTime

userId and loadBalancerId

Value

LoadBalancerRequestTime

ms

LoadBalancerRequestTime

DualStack_LoadBalancerRequestTime

userId and loadBalancerId

Value

LoadBalancerOutBits

bps

LoadBalancerOutBits

DualStack_LoadBalancerOutBits

userId and loadBalancerId

Value

LoadBalancerInBits

bps

LoadBalancerInBits

DualStack_LoadBalancerInBits

userId and loadBalancerId

Value

LoadBalancerHTTPCode2XX

Count/s

LoadBalancerHTTPCode2XX

DualStack_LoadBalancerHTTPCode2XX

userId and loadBalancerId

Value

LoadBalancerHTTPCode3XX

Count/s

LoadBalancerHTTPCode3XX

DualStack_LoadBalancerHTTPCode3XX

userId and loadBalancerId

Value

LoadBalancerHTTPCode4XX

Count/s

LoadBalancerHTTPCode4XX

DualStack_LoadBalancerHTTPCode4XX

userId and loadBalancerId

Value

LoadBalancerHTTPCode500

Count/s

LoadBalancerHTTPCode500

DualStack_LoadBalancerHTTPCode500

userId and loadBalancerId

Value

LoadBalancerHTTPCode502

Count/s

LoadBalancerHTTPCode502

DualStack_LoadBalancerHTTPCode502

userId and loadBalancerId

Value

LoadBalancerHTTPCode503

Count/s

LoadBalancerHTTPCode503

DualStack_LoadBalancerHTTPCode503

userId and loadBalancerId

Value

LoadBalancerHTTPCode504

Count/s

LoadBalancerHTTPCode504

DualStack_LoadBalancerHTTPCode504

userId and loadBalancerId

Value

LoadBalancerHTTPCode5XX

Count/s

LoadBalancerHTTPCode5XX

DualStack_LoadBalancerHTTPCode5XX

userId and loadBalancerId

Value

LoadBalancerHTTPCodeUpstream2XX

Count/s

LoadBalancerHTTPCodeUpstream2XX

-

userId and loadBalancerId

Value

LoadBalancerHTTPCodeUpstream3XX

Count/s

LoadBalancerHTTPCodeUpstream3XX

-

userId and loadBalancerId

Value

LoadBalancerHTTPCodeUpstream4XX

Count/s

LoadBalancerHTTPCodeUpstream4XX

-

userId and loadBalancerId

Value

LoadBalancerHTTPCodeUpstream5XX

Count/s

LoadBalancerHTTPCodeUpstream5XX

-

userId and loadBalancerId

Value

LoadBalancerHealthyHostCount

Count

LoadBalancerHealthyHostCount

-

userId and loadBalancerId

Value

LoadBalancerUnHealthyHostCount

Count

LoadBalancerUnHealthyHostCount

-

userId and loadBalancerId

Value

Listener metrics

Metric

Unit

Metric name

Dimension

Statistics

ListenerActiveConnection

Count

ListenerActiveConnection

DualStack_ListenerActiveConnection

userId, loadBalancerId, listenerProtocol, and listenerPort

Value

ListenerClientTLSNegotiationError

Count/s

ListenerClientTLSNegotiationError

DualStack_ListenerClientTLSNegotiationError

userId, loadBalancerId, listenerProtocol, and listenerPort

Value

ListenerNewConnection

Count/s

ListenerNewConnection

DualStack_ListenerNewConnection

userId, loadBalancerId, listenerProtocol, and listenerPort

Value

ListenerRejectedConnection

Count/s

ListenerRejectedConnection

DualStack_ListenerRejectedConnection

userId, loadBalancerId, listenerProtocol, and listenerPort

Value

ListenerUpstreamConnectionError

Count/s

ListenerUpstreamConnectionError

DualStack_ListenerUpstreamConnectionError

userId, loadBalancerId, listenerProtocol, and listenerPort

Value

ListenerUpstreamTLSNegotiationError

Count/s

ListenerUpstreamTLSNegotiationError

DualStack_ListenerUpstreamTLSNegotiationError

userId, loadBalancerId, listenerProtocol, and listenerPort

Value

ListenerHTTPFixedResponse

Count/s

ListenerHTTPFixedResponse

DualStack_ListenerHTTPFixedResponse

userId, loadBalancerId, listenerProtocol, and listenerPort

Value

ListenerHTTPRedirect

Count/s

ListenerHTTPRedirect

DualStack_ListenerHTTPRedirect

userId, loadBalancerId, listenerProtocol, and listenerPort

Value

ListenerQPS

Count/s

ListenerQPS

DualStack_ListenerQPS

userId, loadBalancerId, listenerProtocol, and listenerPort

Value

ListenerNonStickyRequest

Count/s

ListenerNonStickyRequest

DualStack_ListenerNonStickyRequest

userId, loadBalancerId, listenerProtocol, and listenerPort

Value

ListenerUpstreamResponseTime

ms

ListenerUpstreamResponseTime

DualStack_ListenerUpstreamResponseTime

userId, loadBalancerId, listenerProtocol, and listenerPort

Value

ListenerRequestTime

ms

ListenerRequestTime

DualStack_ListenerRequestTime

userId, loadBalancerId, listenerProtocol, and listenerPort

Value

ListenerOutBits

bps

ListenerOutBits

DualStack_ListenerOutBits

userId, loadBalancerId, listenerProtocol, and listenerPort

Value

ListenerInBits

bps

ListenerInBits

DualStack_ListenerInBits

userId, loadBalancerId, listenerProtocol, and listenerPort

Value

ListenerHTTPCode2XX

Count/s

ListenerHTTPCode2XX

DualStack_ListenerHTTPCode2XX

userId, loadBalancerId, listenerProtocol, and listenerPort

Value

ListenerHTTPCode3XX

Count/s

ListenerHTTPCode3XX

DualStack_ListenerHTTPCode3XX

userId, loadBalancerId, listenerProtocol, and listenerPort

Value

ListenerHTTPCode4XX

Count/s

ListenerHTTPCode4XX

DualStack_ListenerHTTPCode4XX

userId, loadBalancerId, listenerProtocol, and listenerPort

Value

ListenerHTTPCode5XX

Count/s

ListenerHTTPCode5XX

DualStack_ListenerHTTPCode5XX

userId, loadBalancerId, listenerProtocol, and listenerPort

Value

ListenerHTTPCode500

Count/s

ListenerHTTPCode500

DualStack_ListenerHTTPCode500

userId, loadBalancerId, listenerProtocol, and listenerPort

Value

ListenerHTTPCode502

Count/s

ListenerHTTPCode502

DualStack_ListenerHTTPCode502

userId, loadBalancerId, listenerProtocol, and listenerPort

Value

ListenerHTTPCode503

Count/s

ListenerHTTPCode503

DualStack_ListenerHTTPCode503

userId, loadBalancerId, listenerProtocol, and listenerPort

Value

ListenerHTTPCode504

Count/s

ListenerHTTPCode504

DualStack_ListenerHTTPCode504

userId, loadBalancerId, listenerProtocol, and listenerPort

Value

ListenerHTTPCodeUpstream2XX

Count/s

ListenerHTTPCodeUpstream2XX

-

userId, loadBalancerId, listenerProtocol, and listenerPort

Value

ListenerHTTPCodeUpstream3XX

Count/s

ListenerHTTPCodeUpstream3XX

-

userId, loadBalancerId, listenerProtocol, and listenerPort

Value

ListenerHTTPCodeUpstream4XX

Count/s

ListenerHTTPCodeUpstream4XX

-

userId, loadBalancerId, listenerProtocol, and listenerPort

Value

ListenerHTTPCodeUpstream5XX

Count/s

ListenerHTTPCodeUpstream5XX

-

userId, loadBalancerId, listenerProtocol, and listenerPort

Value

ListenerHealthyHostCount

Count

ListenerHealthyHostCount

-

userId, loadBalancerId, listenerProtocol, and listenerPort

Value

ListenerUnHealthyHostCount

Count

ListenerUnHealthyHostCount

-

userId, loadBalancerId, listenerProtocol, and listenerPort

Value

Forwarding rule metrics

Metric

Unit

Metric name

Dimension

Statistics

RuleUpstreamConnectionError

Count/s

RuleUpstreamConnectionError

DualStack_RuleUpstreamConnectionError

userId, loadBalancerId, listenerProtocol, listenerPort, and ruleId

Value

RuleUpstreamTLSNegotiationError

Count/s

RuleUpstreamTLSNegotiationError

DualStack_RuleUpstreamTLSNegotiationError

userId, loadBalancerId, listenerProtocol, listenerPort, and ruleId

Value

RuleNonStickyRequest

Count/s

RuleNonStickyRequest

DualStack_RuleNonStickyRequest

userId, loadBalancerId, listenerProtocol, listenerPort, and ruleId

Value

RuleQPS

Count/s

RuleQPS

DualStack_RuleQPS

userId, loadBalancerId, listenerProtocol, listenerPort, and ruleId

Value

RuleUpstreamResponseTime

ms

RuleUpstreamResponseTime

DualStack_RuleUpstreamResponseTime

userId, loadBalancerId, listenerProtocol, listenerPort, and ruleId

Value

RuleRequestTime

ms

RuleRequestTime

DualStack_RuleRequestTime

userId, loadBalancerId, listenerProtocol, listenerPort, and ruleId

Value

RuleHTTPCodeUpstream2XX

Count/s

RuleHTTPCodeUpstream2XX

-

userId, loadBalancerId, listenerProtocol, listenerPort, and ruleId

Value

RuleHTTPCodeUpstream3XX

Count/s

RuleHTTPCodeUpstream3XX

-

userId, loadBalancerId, listenerProtocol, listenerPort, and ruleId

Value

RuleHTTPCodeUpstream4XX

Count/s

RuleHTTPCodeUpstream4XX

-

userId, loadBalancerId, listenerProtocol, listenerPort, and ruleId

Value

RuleHTTPCodeUpstream5XX

Count/s

RuleHTTPCodeUpstream5XX

-

userId, loadBalancerId, listenerProtocol, listenerPort, and ruleId

Value

RuleHealthyHostCount

Count

RuleHealthyHostCount

-

userId, loadBalancerId, listenerProtocol, listenerPort, and ruleId

Value

RuleUnHealthyHostCount

Count

RuleUnHealthyHostCount

-

userId, loadBalancerId, listenerProtocol, listenerPort, and ruleId

Value

RuleHTTPCodeUpstream2XXRatio

%

RuleHTTPCodeUpstream2XXRatio

-

userId, loadBalancerId, listenerProtocol, listenerPort, and ruleId

Value

RuleHTTPCodeUpstream3XXRatio

%

RuleHTTPCodeUpstream3XXRatio

-

userId, loadBalancerId, listenerProtocol, listenerPort, and ruleId

Value

RuleHTTPCodeUpstream4XXRatio

%

RuleHTTPCodeUpstream4XXRatio

-

userId, loadBalancerId, listenerProtocol, listenerPort, and ruleId

Value

RuleHTTPCodeUpstream5XXRatio

%

RuleHTTPCodeUpstream5XXRatio

-

userId, loadBalancerId, listenerProtocol, listenerPort, and ruleId

Value

Server group metrics

Metric

Unit

Metric name

Dimension

Statistics

ServerGroupUpstreamConnectionError

Count/s

ServerGroupUpstreamConnectionError

DualStack_ServerGroupUpstreamConnectionError

userId, loadBalancerId, listenerProtocol, listenerPort, and serverGroupId

Value

ServerGroupUpstreamTLSNegotiationError

Count/s

ServerGroupUpstreamTLSNegotiationError

DualStack_ServerGroupUpstreamTLSNegotiationError

userId, loadBalancerId, listenerProtocol, listenerPort, and serverGroupId

Value

ServerGroupNonStickyRequest

Count/s

ServerGroupNonStickyRequest

DualStack_ServerGroupNonStickyRequest

userId, loadBalancerId, listenerProtocol, listenerPort, and serverGroupId

Value

ServerGroupQPS

Count/s

ServerGroupQPS

DualStack_ServerGroupQPS

userId, loadBalancerId, listenerProtocol, listenerPort, and serverGroupId

Value

ServerGroupUpstreamResponseTime

ms

ServerGroupUpstreamResponseTime

DualStack_ServerGroupUpstreamResponseTime

userId, loadBalancerId, listenerProtocol, listenerPort, and serverGroupId

Value

ServerGroupRequestTime

ms

ServerGroupRequestTime

DualStack_ServerGroupRequestTime

userId, loadBalancerId, listenerProtocol, listenerPort, and serverGroupId

Value

ServerGroupHTTPCodeUpstream2XX

Count/s

ServerGroupHTTPCodeUpstream2XX

-

userId, loadBalancerId, listenerProtocol, listenerPort, and serverGroupId

Value

ServerGroupHTTPCodeUpstream3XX

Count/s

ServerGroupHTTPCodeUpstream3XX

-

userId, loadBalancerId, listenerProtocol, listenerPort, and serverGroupId

Value

ServerGroupHTTPCodeUpstream4XX

Count/s

ServerGroupHTTPCodeUpstream4XX

-

userId, loadBalancerId, listenerProtocol, listenerPort, and serverGroupId

Value

ServerGroupHTTPCodeUpstream5XX

Count/s

ServerGroupHTTPCodeUpstream5XX

-

userId, loadBalancerId, listenerProtocol, listenerPort, and serverGroupId

Value

ServerGroupHealthyHostCount

Count

ServerGroupHealthyHostCount

-

userId, loadBalancerId, listenerProtocol, listenerPort, and serverGroupId

Value

ServerGroupUnHealthyHostCount

Count

ServerGroupUnHealthyHostCount

-

userId, loadBalancerId, listenerProtocol, listenerPort, and serverGroupId

Value

Virtual IP address (VIP) metrics (Zone metrics)

You can view the metrics on the VIP (Zone) tab only if your ALB instance is assigned a static IP address. To create alert rules for the metrics on the VIP (Zone) tab, log on to the CloudMonitor console. For more information, see Configure alert rules for ALB metrics.

Metric

Unit

Metric name

Dimension

Statistics

VipActiveConnection

Count

VipActiveConnection

userId and loadBalancerId

vip

Value

VipUpstreamTLSNegotiationError

Count/s

VipUpstreamTLSNegotiationError

userId and loadBalancerId

vip

Value

VipNewConnection

Count/s

VipNewConnection

userId and loadBalancerId

vip

Value

VipRejectedConnection

Count/s

VipRejectedConnection

userId and loadBalancerId

vip

Value

VipUpstreamConnectionError

Count/s

VipUpstreamConnectionError

userId and loadBalancerId

vip

Value

VipClientTLSNegotiationError

Count/s

VipClientTLSNegotiationError

userId and loadBalancerId

vip

Value

VipHTTPFixedResponse

Count/s)

VipHTTPFixedResponse

userId and loadBalancerId

vip

Value

VipHTTPRedirect

Count/s

VipHTTPRedirect

userId and loadBalancerId

vip

Value

VipQPS

Count/s

VipQPS

userId and loadBalancerId

vip

Value

VipNonStickyRequest

Count/s

VipNonStickyRequest

userId and loadBalancerId

vip

Value

VipUpstreamResponseTime

ms

VipUpstreamResponseTime

userId and loadBalancerId

vip

Value

VipRequestTime

ms

VipRequestTime

userId and loadBalancerId

vip

Value

VipOutBits

bps

VipOutBits

userId and loadBalancerId

vip

Value

VipInBits

bps

VipInBits

userId and loadBalancerId

vip

Value

VipHTTPCode2XX

Count/s

VipHTTPCode2XX

userId and loadBalancerId

vip

Value

VipHTTPCode3XX

Count/s

VipHTTPCode3XX

userId and loadBalancerId

vip

Value

VipHTTPCode4XX

Count/s

VipHTTPCode4XX

userId and loadBalancerId

vip

Value

VipHTTPCode5XX

Count/s

VipHTTPCode5XX

userId and loadBalancerId

vip

Value

VipHTTPCode500

Count/s

VipHTTPCode500

userId and loadBalancerId

vip

Value

VipHTTPCode502

Count/s

VipHTTPCode502

userId and loadBalancerId

vip

Value

VipHTTPCode503

Count/s

VipHTTPCode503

userId and loadBalancerId

vip

Value

VipHTTPCode504

Count/s

VipHTTPCode504

userId and loadBalancerId

vip

Value

Metrics that can be viewed by using the API or SDK

The metrics in the following table are not displayed in the ALB console. You can query the metrics only by using the API or SDK. Each metric indicates the overall metric of an ALB instance. IPv4 and IPv6 values are not displayed separately.

Table 5. Forwarding rule metrics

Metric

Unit

Metric name

Dimension

Statistics

RuleHTTPCodeUpstream2XXRatio

%

RuleHTTPCodeUpstream2XXRatio

userId, loadBalancerId, listenerProtocol, listenerPort, and ruleId

Value

RuleHTTPCodeUpstream3XXRatio

%

RuleHTTPCodeUpstream3XXRatio

userId, loadBalancerId, listenerProtocol, listenerPort, and ruleId

Value

RuleHTTPCodeUpstream4XXRatio

%

RuleHTTPCodeUpstream4XXRatio

userId, loadBalancerId, listenerProtocol, listenerPort, and ruleId

Value

RuleHTTPCodeUpstream5XXRatio

%

RuleHTTPCodeUpstream5XXRatio

userId, loadBalancerId, listenerProtocol, listenerPort, and ruleId

Value

References

View the monitoring information about an ALB instance