Re: web socket connection time

2016-11-21 Thread Igor Karymov
Thank you Philip! upstream_header_time it's exactly what I'm looking for. On Mon, Nov 21, 2016 at 2:20 PM, Philip Walenta wrote: > Igor, > > Not sure if this will help, but I gather several metrics from the front > end to make a determination how long back end responses take. > > Here's a snippe

Re: web socket connection time

2016-11-21 Thread Philip Walenta
Igor, Not sure if this will help, but I gather several metrics from the front end to make a determination how long back end responses take. Here's a snippet from my log format that might help: "upstream_server":"$upstream_addr", "req_total_time":"$request_time", "req_upstream_time":"$upstream_re

web socket connection time

2016-11-21 Thread Igor Karymov
Hello. I'm using Nginx as WebSocket proxy and trying to set up the metric that will show me how quick gateway can establish new connections. Unfortunately, looks like when I parse logs I have only "response_time" that in the case of WebSockets will be better to call "connection time". Any ideas ho