ALB监控项

更新时间: 2024-11-28 15:58:51

当您遇到应用型负载均衡ALB请求超时、流量限速等网络连接问题,或者需要了解ALB的负载、性能等情况时,您可以通过ALB监控项指标来实时监控分析和排查问题。本文为您介绍ALB的监控项指标。

背景信息

当您调用云监控API时,需要获取ALBNamespacePeriodMetricNameDimensions

  • Namespaceacs_alb

  • Period默认为60秒,也可以为60的整数倍。

  • 参数中的Dimensions为JSON字符串,例如:[{"loadBalancerId":"alb-t93aj3yndojot5****"}]Dimensions中的loadBalancerId为ALB实例的实例ID。

ALB监控指标

  • 下表的MetricName列中,没有DualStack_前缀的监控项不区分IPv4和IPv6指标,表示ALB实例总指标。

    • 对于IPv4实例,不带DualStack_前缀的监控项代表该ALB实例IPv4指标。

    • 对于双栈实例,不带DualStack_前缀的监控项代表该ALB实例IPv4指标和IPv6指标之和。

  • 下表的MetricName列中,带有DualStack_前缀的监控项,表示该监控项会分别展示IPv4指标和IPv6指标。

    • 对于IPv4实例,每个带有DualStack_前缀的监控项中IPv6指标的值显示为0.0,IPv4指标的值代表该ALB实例的指标。

    • 对于双栈实例,每个带有DualStack_前缀的监控项会分别展示IPv4和IPv6指标,分别代表该ALB实例IPv4指标和IPv6指标的值。

下表中,“-”表示不涉及DualStack_前缀的监控项,不支持分别查看IPv4指标和IPv6指标。

实例监控项

监控项

单位

MetricName

Dimensions

Statistics

负载均衡实例活跃连接数

Count

LoadBalancerActiveConnection

DualStack_LoadBalancerActiveConnection

userId、loadBalancerId

Value

负载均衡实例非活跃连接数

Count

LoadBalancerInactiveConnection

DualStack_LoadBalancerInactiveConnection

userId、loadBalancerId

Value

负载均衡实例最大并发连接数

Count

LoadBalancerMaxConnection

DualStack_LoadBalancerMaxConnection

userId、loadBalancerId

Value

负载均衡实例后端每秒TLS握手失败数

Count/s

LoadBalancerUpstreamTLSNegotiationError

DualStack_LoadBalancerUpstreamTLSNegotiationError

userId、loadBalancerId

Value

负载均衡实例每秒新建连接数

Count/s

LoadBalancerNewConnection

DualStack_LoadBalancerNewConnection

userId、loadBalancerId

Value

负载均衡实例每秒丢弃连接数

Count/s

LoadBalancerRejectedConnection

DualStack_LoadBalancerRejectedConnection

userId、loadBalancerId

Value

负载均衡实例后端每秒连接失败数

Count/s

LoadBalancerUpstreamConnectionError

DualStack_LoadBalancerUpstreamConnectionError

userId、loadBalancerId

Value

负载均衡实例每秒TLS握手失败连接数

Count/s

LoadBalancerClientTLSNegotiationError

DualStack_LoadBalancerClientTLSNegotiationError

userId、loadBalancerId

Value

负载均衡实例每秒自定义Response个数

Count/s

LoadBalancerHTTPFixedResponse

DualStack_LoadBalancerHTTPFixedResponse

userId、loadBalancerId

Value

负载均衡实例每秒重定向个数

Count/s

LoadBalancerHTTPRedirect

DualStack_LoadBalancerHTTPRedirect

userId、loadBalancerId

Value

负载均衡实例每秒请求数

Count/s

LoadBalancerQPS

DualStack_LoadBalancerQPS

userId、loadBalancerId

Value

负载均衡实例每秒无粘性请求数

Count/s

LoadBalancerNonStickyRequest

DualStack_LoadBalancerNonStickyRequest

userId、loadBalancerId

Value

负载均衡实例后端应答时间

ms

LoadBalancerUpstreamResponseTime

DualStack_LoadBalancerUpstreamResponseTime

userId、loadBalancerId

Value

负载均衡实例请求时延

ms

LoadBalancerRequestTime

DualStack_LoadBalancerRequestTime

userId、loadBalancerId

Value

负载均衡实例出带宽

bps

LoadBalancerOutBits

DualStack_LoadBalancerOutBits

userId、loadBalancerId

Value

负载均衡实例入带宽

bps

LoadBalancerInBits

DualStack_LoadBalancerInBits

userId、loadBalancerId

Value

负载均衡实例每秒2XX个数

Count/s

LoadBalancerHTTPCode2XX

DualStack_LoadBalancerHTTPCode2XX

userId、loadBalancerId

Value

负载均衡实例每秒3XX个数

Count/s

LoadBalancerHTTPCode3XX

DualStack_LoadBalancerHTTPCode3XX

userId、loadBalancerId

Value

负载均衡实例每秒4XX个数

Count/s

LoadBalancerHTTPCode4XX

DualStack_LoadBalancerHTTPCode4XX

userId、loadBalancerId

Value

负载均衡实例每秒500个数

Count/s

LoadBalancerHTTPCode500

DualStack_LoadBalancerHTTPCode500

userId、loadBalancerId

Value

负载均衡实例每秒502个数

Count/s

LoadBalancerHTTPCode502

DualStack_LoadBalancerHTTPCode502

userId、loadBalancerId

Value

负载均衡实例每秒503个数

Count/s

LoadBalancerHTTPCode503

DualStack_LoadBalancerHTTPCode503

userId、loadBalancerId

Value

负载均衡实例每秒504个数

Count/s

LoadBalancerHTTPCode504

DualStack_LoadBalancerHTTPCode504

userId、loadBalancerId

Value

负载均衡实例每秒5XX个数

Count/s

LoadBalancerHTTPCode5XX

DualStack_LoadBalancerHTTPCode5XX

userId、loadBalancerId

Value

负载均衡实例后端每秒2XX个数

Count/s

LoadBalancerHTTPCodeUpstream2XX

-

userId、loadBalancerId

Value

负载均衡实例后端每秒3XX个数

Count/s

LoadBalancerHTTPCodeUpstream3XX

-

userId、loadBalancerId

Value

负载均衡实例后端每秒4XX个数

Count/s

LoadBalancerHTTPCodeUpstream4XX

-

userId、loadBalancerId

Value

负载均衡实例后端每秒5XX个数

Count/s

LoadBalancerHTTPCodeUpstream5XX

-

userId、loadBalancerId

Value

负载均衡实例健康的服务器数

Count

LoadBalancerHealthyHostCount

-

userId、loadBalancerId

Value

负载均衡实例不健康的服务器数

Count

LoadBalancerUnHealthyHostCount

-

userId、loadBalancerId

Value

监听监控项

监控项

单位

MetricName

Dimensions

Statistics

监听活跃连接数

Count

ListenerActiveConnection

DualStack_ListenerActiveConnection

userId、loadBalancerId、listenerProtocol、listenerPort

Value

监听非活跃连接数

Count

ListenerInactiveConnection

DualStack_ListenerInactiveConnection

userId、loadBalancerId、listenerProtocol、listenerPort

Value

监听最大并发连接数

Count

ListenerMaxConnection

DualStack_ListenerMaxConnection

userId、loadBalancerId、listenerProtocol、listenerPort

Value

监听每秒TLS握手失败连接数

Count/s

ListenerClientTLSNegotiationError

DualStack_ListenerClientTLSNegotiationError

userId、loadBalancerId、listenerProtocol、listenerPort

Value

监听每秒新建连接数

Count/s

ListenerNewConnection

DualStack_ListenerNewConnection

userId、loadBalancerId、listenerProtocol、listenerPort

Value

监听每秒丢弃连接数

Count/s

ListenerRejectedConnection

DualStack_ListenerRejectedConnection

userId、loadBalancerId、listenerProtocol、listenerPort

Value

监听后端每秒连接失败数

Count/s

ListenerUpstreamConnectionError

DualStack_ListenerUpstreamConnectionError

userId、loadBalancerId、listenerProtocol、listenerPort

Value

监听后端每秒TLS握手失败数

Count/s

ListenerUpstreamTLSNegotiationError

DualStack_ListenerUpstreamTLSNegotiationError

userId、loadBalancerId、listenerProtocol、listenerPort

Value

监听每秒自定义Reponse个数

Count/s

ListenerHTTPFixedResponse

DualStack_ListenerHTTPFixedResponse

userId、loadBalancerId、listenerProtocol、listenerPort

Value

监听每秒重定向个数

Count/s

ListenerHTTPRedirect

DualStack_ListenerHTTPRedirect

userId、loadBalancerId、listenerProtocol、listenerPort

Value

监听每秒请求数

Count/s

ListenerQPS

DualStack_ListenerQPS

userId、loadBalancerId、listenerProtocol、listenerPort

Value

监听每秒无粘性请求数

Count/s

ListenerNonStickyRequest

DualStack_ListenerNonStickyRequest

userId、loadBalancerId、listenerProtocol、listenerPort

Value

监听后端应答时间

ms

ListenerUpstreamResponseTime

DualStack_ListenerUpstreamResponseTime

userId、loadBalancerId、listenerProtocol、listenerPort

Value

监听请求时延

ms

ListenerRequestTime

DualStack_ListenerRequestTime

userId、loadBalancerId、listenerProtocol、listenerPort

Value

监听出带宽

bps

ListenerOutBits

DualStack_ListenerOutBits

userId、loadBalancerId、listenerProtocol、listenerPort

Value

监听入带宽

bps

ListenerInBits

DualStack_ListenerInBits

userId、loadBalancerId、listenerProtocol、listenerPort

Value

监听每秒2XX个数

Count/s

ListenerHTTPCode2XX

DualStack_ListenerHTTPCode2XX

userId、loadBalancerId、listenerProtocol、listenerPort

Value

监听每秒3XX个数

Count/s

ListenerHTTPCode3XX

DualStack_ListenerHTTPCode3XX

userId、loadBalancerId、listenerProtocol、listenerPort

Value

监听每秒4XX个数

Count/s

ListenerHTTPCode4XX

DualStack_ListenerHTTPCode4XX

userId、loadBalancerId、listenerProtocol、listenerPort

Value

监听每秒5XX个数

Count/s

ListenerHTTPCode5XX

DualStack_ListenerHTTPCode5XX

userId、loadBalancerId、listenerProtocol、listenerPort

Value

监听每秒500个数

Count/s

ListenerHTTPCode500

DualStack_ListenerHTTPCode500

userId、loadBalancerId、listenerProtocol、listenerPort

Value

监听每秒502个数

Count/s

ListenerHTTPCode502

DualStack_ListenerHTTPCode502

userId、loadBalancerId、listenerProtocol、listenerPort

Value

监听每秒503个数

Count/s

ListenerHTTPCode503

DualStack_ListenerHTTPCode503

userId、loadBalancerId、listenerProtocol、listenerPort

Value

监听每秒504个数

Count/s

ListenerHTTPCode504

DualStack_ListenerHTTPCode504

userId、loadBalancerId、listenerProtocol、listenerPort

Value

监听后端每秒2XX状态码个数

Count/s

ListenerHTTPCodeUpstream2XX

-

userId、loadBalancerId、listenerProtocol、listenerPort

Value

监听后端每秒3XX状态码个数

Count/s

ListenerHTTPCodeUpstream3XX

-

userId、loadBalancerId、listenerProtocol、listenerPort

Value

监听后端每秒4XX状态码个数

Count/s

ListenerHTTPCodeUpstream4XX

-

userId、loadBalancerId、listenerProtocol、listenerPort

Value

监听后端每秒5XX状态码个数

Count/s

ListenerHTTPCodeUpstream5XX

-

userId、loadBalancerId、listenerProtocol、listenerPort

Value

监听健康的服务器数

Count

ListenerHealthyHostCount

-

userId、loadBalancerId、listenerProtocol、listenerPort

Value

监听不健康的服务器数

Count

ListenerUnHealthyHostCount

-

userId、loadBalancerId、listenerProtocol、listenerPort

Value

转发规则监控项

监控项

单位

MetricName

Dimensions

Statistics

转发规则后端每秒连接失败数

Count/s

RuleUpstreamConnectionError

DualStack_RuleUpstreamConnectionError

userId、loadBalancerId、listenerProtocol、listenerPort、ruleId

Value

转发规则后端每秒TLS握手失败数

Count/s

RuleUpstreamTLSNegotiationError

DualStack_RuleUpstreamTLSNegotiationError

userId、loadBalancerId、listenerProtocol、listenerPort、ruleId

Value

转发规则每秒无粘性请求数

Count/s

RuleNonStickyRequest

DualStack_RuleNonStickyRequest

userId、loadBalancerId、listenerProtocol、listenerPort、ruleId

Value

转发规则每秒请求数

Count/s

RuleQPS

DualStack_RuleQPS

userId、loadBalancerId、listenerProtocol、listenerPort、ruleId

Value

转发规则后端应答时间

ms

RuleUpstreamResponseTime

DualStack_RuleUpstreamResponseTime

userId、loadBalancerId、listenerProtocol、listenerPort、ruleId

Value

转发规则请求时延

ms

RuleRequestTime

DualStack_RuleRequestTime

userId、loadBalancerId、listenerProtocol、listenerPort、ruleId

Value

转发规则后端每秒2XX个数

Count/s

RuleHTTPCodeUpstream2XX

-

userId、loadBalancerId、listenerProtocol、listenerPort、ruleId

Value

转发规则后端每秒3XX个数

Count/s

RuleHTTPCodeUpstream3XX

-

userId、loadBalancerId、listenerProtocol、listenerPort、ruleId

Value

转发规则后端每秒4XX个数

Count/s

RuleHTTPCodeUpstream4XX

-

userId、loadBalancerId、listenerProtocol、listenerPort、ruleId

Value

转发规则后端每秒5XX个数

Count/s

RuleHTTPCodeUpstream5XX

-

userId、loadBalancerId、listenerProtocol、listenerPort、ruleId

Value

转发规则健康的服务器数

Count

RuleHealthyHostCount

-

userId、loadBalancerId、listenerProtocol、listenerPort、ruleId

Value

转发规则不健康的服务器数

Count

RuleUnHealthyHostCount

-

userId、loadBalancerId、listenerProtocol、listenerPort、ruleId

Value

转发规则后端每秒2XX占比

%

RuleHTTPCodeUpstream2XXRatio

-

userId、loadBalancerId、listenerProtocol、listenerPort、ruleId

Value

转发规则后端每秒3XX占比

%

RuleHTTPCodeUpstream3XXRatio

-

userId、loadBalancerId、listenerProtocol、listenerPort、ruleId

Value

转发规则后端每秒4XX占比

%

RuleHTTPCodeUpstream4XXRatio

-

userId、loadBalancerId、listenerProtocol、listenerPort、ruleId

Value

转发规则后端每秒5XX占比

%

RuleHTTPCodeUpstream5XXRatio

-

userId、loadBalancerId、listenerProtocol、listenerPort、ruleId

Value

服务器组监控项

监控项

单位

MetricName

Dimensions

Statistics

服务器组后端每秒连接失败数

Count/s

ServerGroupUpstreamConnectionError

DualStack_ServerGroupUpstreamConnectionError

userId、loadBalancerId、listenerProtocol、listenerPort、serverGroupId

Value

服务器组后端每秒TLS握手失败数

Count/s

ServerGroupUpstreamTLSNegotiationError

DualStack_ServerGroupUpstreamTLSNegotiationError

userId、loadBalancerId、listenerProtocol、listenerPort、serverGroupId

Value

服务器组无粘性请求数

Count/s

ServerGroupNonStickyRequest

DualStack_ServerGroupNonStickyRequest

userId、loadBalancerId、listenerProtocol、listenerPort、serverGroupId

Value

服务器组每秒请求数

Count/s

ServerGroupQPS

DualStack_ServerGroupQPS

userId、loadBalancerId、listenerProtocol、listenerPort、serverGroupId

Value

服务器组后端应答时间

ms

ServerGroupUpstreamResponseTime

DualStack_ServerGroupUpstreamResponseTime

userId、loadBalancerId、listenerProtocol、listenerPort、serverGroupId

Value

服务器组请求时延

ms

ServerGroupRequestTime

DualStack_ServerGroupRequestTime

userId、loadBalancerId、listenerProtocol、listenerPort、serverGroupId

Value

服务器组后端每秒2XX个数

Count/s

ServerGroupHTTPCodeUpstream2XX

-

userId、loadBalancerId、listenerProtocol、listenerPort、serverGroupId

Value

服务器组后端每秒3XX个数

Count/s

ServerGroupHTTPCodeUpstream3XX

-

userId、loadBalancerId、listenerProtocol、listenerPort、serverGroupId

Value

服务器组后端每秒4XX个数

Count/s

ServerGroupHTTPCodeUpstream4XX

-

userId、loadBalancerId、listenerProtocol、listenerPort、serverGroupId

Value

服务器组后端每秒5XX个数

Count/s

ServerGroupHTTPCodeUpstream5XX

-

userId、loadBalancerId、listenerProtocol、listenerPort、serverGroupId

Value

服务器组健康的服务器数

Count

ServerGroupHealthyHostCount

-

userId、loadBalancerId、listenerProtocol、listenerPort、serverGroupId

Value

服务器组不健康的服务器数

Count

ServerGroupUnHealthyHostCount

-

userId、loadBalancerId、listenerProtocol、listenerPort、serverGroupId

Value

VIP(可用区)监控项

仅固定IP模式ALB实例支持查看VIP(可用区)相关指标监控项。若您需要设置ALB实例的VIP(可用区)指标报警规则请至云监控控制台,具体操作请参见设置ALB监控项报警规则

监控项

单位

MetricName

Dimensions

Statistics

VIP活跃连接数

Count

VipActiveConnection

userId、loadBalancerId、

vip

Value

VIP非活跃连接数

Count

VipInactiveConnection

userId、loadBalancerId、vip

Value

VIP最大并发连接数

Count

VipMaxConnection

userId、loadBalancerId、vip

Value

VIP后端每秒TLS握手失败数

Count/s

VipUpstreamTLSNegotiationError

userId、loadBalancerId、

vip

Value

VIP每秒新建连接数

Count/s

VipNewConnection

userId、loadBalancerId、

vip

Value

VIP每秒丢弃连接数

Count/s

VipRejectedConnection

userId、loadBalancerId、

vip

Value

VIP后端每秒连接失败数

Count/s

VipUpstreamConnectionError

userId、loadBalancerId、

vip

Value

VIP每秒TLS握手失败连接数

Count/s

VipClientTLSNegotiationError

userId、loadBalancerId、

vip

Value

VIP每秒自定义Response个数

Count/s)

VipHTTPFixedResponse

userId、loadBalancerId、

vip

Value

VIP每秒重定向个数

Count/s

VipHTTPRedirect

userId、loadBalancerId、

vip

Value

VIP每秒请求数

Count/s

VipQPS

userId、loadBalancerId、

vip

Value

VIP每秒无粘性请求数

Count/s

VipNonStickyRequest

userId、loadBalancerId、

vip

Value

VIP后端应答时间

ms

VipUpstreamResponseTime

userId、loadBalancerId、

vip

Value

VIP请求时延

ms

VipRequestTime

userId、loadBalancerId、

vip

Value

VIP出带宽

bps

VipOutBits

userId、loadBalancerId、

vip

Value

VIP入带宽

bps

VipInBits

userId、loadBalancerId、

vip

Value

VIP每秒2XX个数

Count/s

VipHTTPCode2XX

userId、loadBalancerId、

vip

Value

VIP每秒3XX个数

Count/s

VipHTTPCode3XX

userId、loadBalancerId、

vip

Value

VIP每秒4XX个数

Count/s

VipHTTPCode4XX

userId、loadBalancerId、

vip

Value

VIP每秒5XX个数

Count/s

VipHTTPCode5XX

userId、loadBalancerId、

vip

Value

VIP每秒500个数

Count/s

VipHTTPCode500

userId、loadBalancerId、

vip

Value

VIP每秒502个数

Count/s

VipHTTPCode502

userId、loadBalancerId、

vip

Value

VIP每秒503个数

Count/s

VipHTTPCode503

userId、loadBalancerId、

vip

Value

VIP每秒504个数

Count/s

VipHTTPCode504

userId、loadBalancerId、

vip

Value

仅支持通过API、SDK查看的监控指标

下表中的监控项不支持通过ALB控制台查看,仅支持通过API、SDK查看,且每个监控项代表ALB实例总指标,不区分展示IPv4和IPv6指标。

表 5. 转发规则监控项

监控项

单位

MetricName

Dimensions

Statistics

转发规则后端每秒2XX占比

%

RuleHTTPCodeUpstream2XXRatio

userId、loadBalancerId、listenerProtocol、listenerPort、ruleId

Value

转发规则后端每秒3XX占比

%

RuleHTTPCodeUpstream3XXRatio

userId、loadBalancerId、listenerProtocol、listenerPort、ruleId

Value

转发规则后端每秒4XX占比

%

RuleHTTPCodeUpstream4XXRatio

userId、loadBalancerId、listenerProtocol、listenerPort、ruleId

Value

转发规则后端每秒5XX占比

%

RuleHTTPCodeUpstream5XXRatio

userId、loadBalancerId、listenerProtocol、listenerPort、ruleId

Value

相关文档

当您需要对监控信息进行查询和分析,请参见查看ALB监控信息

上一篇: TLS安全策略 下一篇: 查看ALB监控信息
阿里云首页 负载均衡 相关技术圈