當您遇到應用型負載平衡ALB請求逾時、流量限速等網路連接問題,或者需要瞭解ALB的負載、效能等情況時,您可以通過ALB監控項指標來即時監控分析和排查問題。本文為您介紹ALB的監控項指標。
背景資訊
當您調用CloudMonitorAPI時,需要擷取ALB的Namespace、Period、MetricName和Dimensions。
Namespace為
acs_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 | |
Server Load Balancer執行個體活躍串連數 | Count | LoadBalancerActiveConnection | DualStack_LoadBalancerActiveConnection | userId、loadBalancerId | Value |
Server Load Balancer執行個體非活躍串連數 | Count | LoadBalancerInactiveConnection | DualStack_LoadBalancerInactiveConnection | userId、loadBalancerId | Value |
Server Load Balancer執行個體最大並發串連數 | Count | LoadBalancerMaxConnection | DualStack_LoadBalancerMaxConnection | userId、loadBalancerId | Value |
Server Load Balancer執行個體後端每秒TLS握手失敗數 | Count/s | LoadBalancerUpstreamTLSNegotiationError | DualStack_LoadBalancerUpstreamTLSNegotiationError | userId、loadBalancerId | Value |
Server Load Balancer執行個體每秒建立串連數 | Count/s | LoadBalancerNewConnection | DualStack_LoadBalancerNewConnection | userId、loadBalancerId | Value |
Server Load Balancer執行個體每秒丟棄串連數 | Count/s | LoadBalancerRejectedConnection | DualStack_LoadBalancerRejectedConnection | userId、loadBalancerId | Value |
Server Load Balancer執行個體後端每秒串連失敗數 | Count/s | LoadBalancerUpstreamConnectionError | DualStack_LoadBalancerUpstreamConnectionError | userId、loadBalancerId | Value |
Server Load Balancer執行個體每秒TLS握手失敗串連數 | Count/s | LoadBalancerClientTLSNegotiationError | DualStack_LoadBalancerClientTLSNegotiationError | userId、loadBalancerId | Value |
Server Load Balancer執行個體每秒自訂Response個數 | Count/s | LoadBalancerHTTPFixedResponse | DualStack_LoadBalancerHTTPFixedResponse | userId、loadBalancerId | Value |
Server Load Balancer執行個體每秒重新導向個數 | Count/s | LoadBalancerHTTPRedirect | DualStack_LoadBalancerHTTPRedirect | userId、loadBalancerId | Value |
Server Load Balancer執行個體每秒請求數 | Count/s | LoadBalancerQPS | DualStack_LoadBalancerQPS | userId、loadBalancerId | Value |
Server Load Balancer執行個體每秒無粘性請求數 | Count/s | LoadBalancerNonStickyRequest | DualStack_LoadBalancerNonStickyRequest | userId、loadBalancerId | Value |
Server Load Balancer執行個體後端應答時間 | ms | LoadBalancerUpstreamResponseTime | DualStack_LoadBalancerUpstreamResponseTime | userId、loadBalancerId | Value |
Server Load Balancer執行個體請求時延 | ms | LoadBalancerRequestTime | DualStack_LoadBalancerRequestTime | userId、loadBalancerId | Value |
Server Load Balancer執行個體出頻寬 | bps | LoadBalancerOutBits | DualStack_LoadBalancerOutBits | userId、loadBalancerId | Value |
Server Load Balancer執行個體入頻寬 | bps | LoadBalancerInBits | DualStack_LoadBalancerInBits | userId、loadBalancerId | Value |
Server Load Balancer執行個體每秒2XX個數 | Count/s | LoadBalancerHTTPCode2XX | DualStack_LoadBalancerHTTPCode2XX | userId、loadBalancerId | Value |
Server Load Balancer執行個體每秒3XX個數 | Count/s | LoadBalancerHTTPCode3XX | DualStack_LoadBalancerHTTPCode3XX | userId、loadBalancerId | Value |
Server Load Balancer執行個體每秒4XX個數 | Count/s | LoadBalancerHTTPCode4XX | DualStack_LoadBalancerHTTPCode4XX | userId、loadBalancerId | Value |
Server Load Balancer執行個體每秒500個數 | Count/s | LoadBalancerHTTPCode500 | DualStack_LoadBalancerHTTPCode500 | userId、loadBalancerId | Value |
Server Load Balancer執行個體每秒502個數 | Count/s | LoadBalancerHTTPCode502 | DualStack_LoadBalancerHTTPCode502 | userId、loadBalancerId | Value |
Server Load Balancer執行個體每秒503個數 | Count/s | LoadBalancerHTTPCode503 | DualStack_LoadBalancerHTTPCode503 | userId、loadBalancerId | Value |
Server Load Balancer執行個體每秒504個數 | Count/s | LoadBalancerHTTPCode504 | DualStack_LoadBalancerHTTPCode504 | userId、loadBalancerId | Value |
Server Load Balancer執行個體每秒5XX個數 | Count/s | LoadBalancerHTTPCode5XX | DualStack_LoadBalancerHTTPCode5XX | userId、loadBalancerId | Value |
Server Load Balancer執行個體後端每秒2XX個數 | Count/s | LoadBalancerHTTPCodeUpstream2XX | - | userId、loadBalancerId | Value |
Server Load Balancer執行個體後端每秒3XX個數 | Count/s | LoadBalancerHTTPCodeUpstream3XX | - | userId、loadBalancerId | Value |
Server Load Balancer執行個體後端每秒4XX個數 | Count/s | LoadBalancerHTTPCodeUpstream4XX | - | userId、loadBalancerId | Value |
Server Load Balancer執行個體後端每秒5XX個數 | Count/s | LoadBalancerHTTPCodeUpstream5XX | - | userId、loadBalancerId | Value |
Server Load Balancer執行個體健康的伺服器數 | Count | LoadBalancerHealthyHostCount | - | userId、loadBalancerId | Value |
Server Load Balancer執行個體不健康的伺服器數 | 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(可用性區域)指標警示規則請至CloudMonitor控制台,具體操作請參見設定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監控資訊。