GWLB monitoring
Gateway Load Balancer (GWLB) provides monitoring metrics that let you track real-time instance usage and health, helping you detect and resolve issues before they affect your services.
Background information
To call the CloudMonitor API, obtain the following parameters for GWLB: Namespace, Period, MetricName, and Dimensions.
-
Namespace is
acs_gwlb. -
Period defaults to 60 seconds and must be an integer multiple of 60.
-
Dimensions is a JSON string, for example:
[{"instanceId":"gwlb-0jl04f66daa388ec****"}]. TheinstanceIdfield specifies the ID of the GWLB instance.
GWLB metrics
-
In the Dimension column of the table below, addressIpVersion represents the IP version of the GWLB instance.
-
For an IPv4 instance, the value is
ipv4, and the metrics represent the overall metrics of the GWLB instance. Example Dimensions value:[{"addressIpVersion":"ipv4"}]. -
For a dual-stack instance, the value can be
ipv4,ipv6, ordualstack. When the value isdualstack, the metric value is the sum of the IPv4 and IPv6 metrics of the GWLB instance. Example Dimensions value:[{"addressIpVersion":"dualstack"}].
-
-
In the Dimension column, availableZone represents the zone ID of the GWLB instance.
-
To query metrics for a specific zone, set the Dimensions parameter as follows:
[{"availableZone":"cn-wulanchabu-a"}]. -
To query metrics across all zones, set the Dimensions parameter as follows:
[{"availableZone":"all"}].
-
Metrics
|
Metric |
Unit |
MetricName |
Dimension |
Statistics |
|
New connections per second |
Count/s |
NewConnection |
userId, regionId, instanceId, availableZone, addressIpVersion |
Value |
|
Active connections |
Count |
ActiveConnection |
userId, regionId, instanceId, availableZone, addressIpVersion |
Value |
|
Inbound packet rate |
Count/s |
PacketRX |
userId, regionId, instanceId, availableZone, addressIpVersion |
Value |
|
Outbound packet rate |
Count/s |
PacketTX |
userId, regionId, instanceId, availableZone, addressIpVersion |
Value |
|
Inbound bandwidth |
bit/s |
TrafficRX |
userId, regionId, instanceId, availableZone, addressIpVersion |
Value |
|
Outbound bandwidth |
bit/s |
TrafficTX |
userId, regionId, instanceId, availableZone, addressIpVersion |
Value |
|
Unhealthy servers in a server group |
Count |
ServerGroupUnhealthyHostCount |
userId, regionId, instanceId, availableZone, listenerId, serverGroupId |
Value |
|
Healthy servers in a server group |
Count |
ServerGroupHealthyHostCount |
userId, regionId, instanceId, availableZone, listenerId, serverGroupId |
Value |