Welcome! Log In Create A New Profile

Advanced

Websocket metrics

Posted by Claus Strommer 
Claus Strommer
Websocket metrics
November 14, 2017 03:30PM
Hi,

I'm looking for recommendations on best practices for collecting metrics
and performing analytics on websocket connections through HAProxy. I'm
already capturing the http log which serves me well for http traffic, but
since websockets get upgraded to TCP connections I'm losing the kind of
atomicity I'm used to. Is there anything I can do with HAProxy to sample
frames from a websocket, or am I going to have to go more low-level and do
layer 2 traffic capture?
Andrew Smalley
Re: Websocket metrics
November 14, 2017 03:30PM
Hi Claus

Below is a blog on the haproxy website about websockets, I apologies
if it does not have the information you need

https://www.haproxy.com/blog/websockets-load-balancing-with-haproxy/



Andruw Smalley

Loadbalancer.org Ltd.

www.loadbalancer.org
+1 888 867 9504 / +44 (0)330 380 1064
asmalley@loadbalancer.org

Leave a Review | Deployment Guides | Blog


On 14 November 2017 at 14:18, Claus Strommer <claus.strommer@gmail.com> wrote:
>
> Hi,
>
> I'm looking for recommendations on best practices for collecting metrics and performing analytics on websocket connections through HAProxy. I'm already capturing the http log which serves me well for http traffic, but since websockets get upgraded to TCP connections I'm losing the kind of atomicity I'm used to. Is there anything I can do with HAProxy to sample frames from a websocket, or am I going to have to go more low-level and do layer 2 traffic capture?
Sorry, only registered users may post in this forum.

Click here to login