Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Monitor WebSocket Connections on GCP External Application Load Balancer

Hi GCP Community,

I am using an External Application Load Balancer in GCP to handle WebSocket traffic for my application with backend service configured on an internet NEG

Question: I want to monitor and analyze the WebSocket traffic flowing through the load balancer. Specifically:

 

  • Metrics: Are there any built-in metrics or logging options for WebSocket-specific traffic (e.g., connection count, duration, errors, etc.)?
  • Logs: Does GCP provide detailed logging for WebSocket connections, or do I need to enable additional logging in the load balancer settings?
  • Third-party Tools: Would integrating a third-party monitoring solution be more effective for WebSocket traffic, and if so, what are some recommended tools?
  • Best Practices: Any best practices for setting up monitoring for WebSocket connections in this setup?

 

0 2 438