ALB監控項
當您遇到應用型負載均衡ALB請求超時、流量限速等網絡連接問題,或者需要了解ALB的負載、性能等情況時,您可以通過ALB監控項指標來實時監控分析和排查問題。本文為您介紹ALB的監控項指標。
背景信息
當您調用云監控API時,需要獲取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 | |
負載均衡實例活躍連接數 | 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監控信息。