- Documentation
Load Balancer
Classic Load Balancer (CLB)
Best Practices
Monitoring the traffic usage
Best Practices
Monitoring the traffic usage
Monitoring the traffic usage
This article introduces how to use the monitoring feature to view CLB private or public traffic and how to configure alarm policies to track traffic usage in time.
Application scenarios
In businesses using CLB for access traffic distribution, monitoring CLB traffic usage or configuring inbound and outbound bandwidth alarm policies for CLB helps to track business traffic promptly and prevent issues caused by excessive traffic.
Traffic usage of public CLB and private CLB with associated EIP can be understood by viewing CLB or EIP traffic usage within a specific period. Traffic usage of private CLB without associated EIP can be understood by viewing CLB traffic usage within a specific period.
After configuring inbound and outbound bandwidth alarm policies for CLB, manual periodic checks are unnecessary. When bandwidth reaches a certain value, an alarm triggers and notifies contacts via email or SMS, enabling timely adjustments and avoiding business issues due to excessive traffic.
Prerequisites
- Instance suspension or upgrade may cause no data in CLB monitoring metrics for some time; ensure CLB has been running normally for a while before checking.
View traffic usage
View CLB usage traffic
View internet IP usage traffic
- In the top menu bar, select the target project and region.
- Click the target CLB instance name.
- On the Monitoring tab, click the Instance or Listener tab, and select a time period, for example, 1 day.
- View the inbound and outbound bandwidth statistics of an instance or a listener.
- In the top menu bar, select the target project and region.
- Click the target CLB instance name.
- Click the Data Monitoring tab, and select a time period, for example, 1 day.
- View the statistical data on metrics, such as the outbound and inbound traffic and outbound and inbound bandwidth.
Configuring an alarm strategy
The following uses configuring an instance alarm strategy as an example; configuring a listener alarm strategy follows similar steps.
- In the left-side navigation pane, select Alert Center > Alert policy.
- On the alert policy page, click the Create alert policy button.
- Configure the basic alarm information, and set the policy name to policy-clb.
- Refer to the table below to configure alert objects.
- Refer to the table below to configure alert rules.
- Configure notification methods for the alarm policy.
- Alarm channel set to email, Alarm contact group set to alarmgroup-test.
Last updated: 2026.06.12 15:32:49