Forum Discussion
Sathishku1340
May 18, 2023Copper Contributor
Azure Load Balancer
Hello All,
I have created azure load balancer and vmss(virtual machine scale set) as backend.
I hosted web application in the vmss using custom script extension.
I wanted to know how many request is going to my web app via load balancer.
Is there any metrics available or any other way to find the total number of requests?
- pksony88Copper Contributor
To monitor the requests going to your web app via the Azure Load Balancer, follow these steps:
- Load Balancer Insights:
- Azure Load Balancer provides insights through a prebuilt monitoring dashboard in the Azure portal. You can access this by navigating to the Insights blade of your Load Balancer resource.
- The insights include a functional dependency view, metrics dashboard, and tabs for frontend and backend availability, data throughput, and flow distribution.
- View Metrics:
- Go to the metrics page for your standard load balancer resources.
- You can do this in two ways:
- On the load balancer’s resource page, select the metric type from the drop-down list.
- On the Azure Monitor page, select the load balancer resource.
- Set the appropriate metric aggregation type to see details about requests, connections, and other relevant data.
- Diagnostic Settings:
- Create a diagnostic setting to collect monitoring data.
- In the Azure portal:
- Search for “Load balancer” and select your load balancer.
- Go to the Monitoring section and choose Diagnostic settings.
- Add a diagnostic setting with the category AllMetrics.
- Specify the destination (e.g., Log Analytics or a storage account) to route the data.
Remember to explore the insights and metrics to get a comprehensive view of your load balancer’s performance and request traffic!
- Chandrasekhar_AryaSteel ContributorI guess you can use Azure Monitor's metrics and logs to gather information about the traffic passing through the load balancer. you need to configure the metric in Azure Load balancer
- sathish175Copper ContributorThanks for your reply.
Yes, we can use azure monitor for metrics and logs to get the information.But, there is no metrics to find the total incoming request count.
I am thinking as azure load balancer operating at layer 4 we don't have the metrics to find the incoming request count. But there should be some way to find it.
If you know any way to find it. Please, let me know.