Azure 负载均衡器将请求转发到虚拟机

Azure Load Balancer forwarding request to vm

我们有一个 Azure 内部负载均衡器转发请求到后端 VM。

有没有办法找出每个 VM 服务器有多少请求?换句话说,有多少请求从负载均衡器转发到每个 VM。

您可以采用 Standard Load Balancer. You will see some differences between Standard Load Balancer and Basic Load Balancer in that linking document. For internal standard LB, you can check the SYN (synchronize) packets metric 收集流及其握手始终在源和 VM 实例之间。

对于其他场景,您可以通过网络捕获工具收集网络跟踪,例如Wireshark