Welcome! Log In Create A New Profile

Advanced

Re: web socket connection time

Igor Karymov
November 21, 2016 10:12AM
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 <philip.walenta@gmail.com>
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 snippet from my log format that might help:
>
> "upstream_server":"$upstream_addr", "req_total_time":"$request_time",
> "req_upstream_time":"$upstream_response_time", "upstream_conn_time":"$upstream_connect_time",
> "upstream_header_time":"$upstream_header_time"
>
> You can find all the variables here:
>
> http://nginx.org/en/docs/varindex.html
>
> On Mon, Nov 21, 2016 at 5:09 AM, Igor Karymov <ingham.k@gmail.com> wrote:
>
>> 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 how can I get time between GET request and 101 response?
>>
>> _______________________________________________
>> nginx mailing list
>> nginx@nginx.org
>> http://mailman.nginx.org/mailman/listinfo/nginx
>>
>
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

web socket connection time

Igor Karymov November 21, 2016 06:10AM

Re: web socket connection time

Philip Walenta November 21, 2016 06:22AM

Re: web socket connection time

Igor Karymov November 21, 2016 10:12AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 292
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready