Reputation: 595
I have a TCP load balancer on Google cloud, Can I get the active connection count on that load balancer? If yes, how can I get that?
Upvotes: 2
Views: 1550
Reputation: 51
Yes, you can get that information using Cloud Monitoring.
If you have a network TCP Load Balancer [1].
If you have an internal TCP Load Balancer [2].
Example of the metric:
Metric: Open Connections
Name: tcp_ssl_proxy/open_connections
Description: The number of connections open at the given sample moment. Samples are taken one minute apart.
[1] https://cloud.google.com/load-balancing/docs/tcp/tcp-ssl-proxy-logging-monitoring
[2] https://cloud.google.com/load-balancing/docs/internal/internal-logging-monitoring
Upvotes: 2