Azure Load Balancer
Collect Azure Load Balancer Metrics
Configuration¶
Install Func¶
It is recommended to enable Guance integration - extension - DataFlux Func (Automata): all prerequisites are automatically installed, please proceed with the script installation.
If deploying Func manually, refer to Manual Func Deployment
Install Script¶
Note: Please prepare the required Azure application registration information in advance and assign the
Monitoring Readerrole to the application registration.
To synchronize the monitoring data of Azure Load Balancer, we install the corresponding collection script: 「Integration (Azure-Load Balancer Collection)」(ID: integration_azure_load_balancer)
After clicking [Install], input the corresponding parameters:
Azure Tenant ID: Tenant IDAzure Client ID: Application registration Client IDAzure Client Secret Value: Client secret value, note it is not the IDSubscriptions: Subscription ID, multiple subscriptions separated by,
Click [Deploy Startup Script], the system will automatically create Startup script sets and configure the corresponding startup scripts.
After enabling, you can see the corresponding automatic trigger configuration in "Manage / Automatic Trigger Configuration". Click [Execute] to immediately execute once without waiting for the scheduled time. After a while, you can check the execution task records and corresponding logs.
Verification¶
- In "Manage / Automatic Trigger Configuration", confirm whether the corresponding task has the corresponding automatic trigger configuration, and check the corresponding task records and logs for any exceptions.
- In Guance, 「Infrastructure - Resource Catalog」, check if there is asset information.
- In Guance, check if there are corresponding monitoring data in "Metrics".
Metrics¶
Collect Azure Load Balancer Metrics, more metrics can be collected through configuration Microsoft.Network/loadBalancers Supported Metrics
| Metric Name | Description | Unit |
|---|---|---|
byte_count_total |
Total bytes transmitted during the time period | byte |
packet_count_total |
Total packets transmitted during the time period | count |
syncount_total |
Total number of SYN packets transmitted during the time period | count |
vip_availability_average |
Average availability of IP addresses for each duration | % |
dip_availability_average |
Average availability of dedicated IP | % |
allocated_snat_ports_average |
The total number of SNAT ports allocated during the statistical period. | count |
global_backend_availability_average |
The backend health status of the cross-region load balancer during the statistical period. | count |
snat_connection_count_total |
The total number of new SNAT connections during the statistical period. | count |
used_snat_ports_average |
The total number of SNAT ports used during the statistical period. | count |