From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Sun, 14 Apr 2019 12:36:21 +0300 From: Vladimir Davydov Subject: Re: [tarantool-patches] Re: [PATCH] Improve box.stat.net output Message-ID: <20190414093620.m2liocx62w2uq4al@esperanza> References: <8bd85fabecbbc5ec987327e91506ee89e4f6e985.1555092935.git.vdavydov.dev@gmail.com> <20190412203749.i53awcaw4s3cvo5d@tkn_work_nb> <20190412224201.GA8529@chai> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190412224201.GA8529@chai> To: Konstantin Osipov Cc: tarantool-patches@freelists.org List-ID: On Sat, Apr 13, 2019 at 01:42:01AM +0300, Konstantin Osipov wrote: > * Alexander Turenko [19/04/13 01:34]: > > Just remind: I would add docbot comment. > > ++ Done: @TarantoolBot document Title: Document new box.stat.net fields Here's the list of the new fields: - `CONNECTIONS.rps` - number of connections opened per second recently (for the last 5 seconds). - `CONNECTIONS.total` - total number of connections opened so far. - `REQUESTS.current` - number of requests in flight (this is what's limited by `box.cfg.net_msg_max`). - `REQUESTS.rps` - number of requests processed per second recently (for the last 5 seconds). - `REQUESTS.total` - total number of requests processed so far. `CONNECTIONS.rps`, `CONNECTIONS.total`, `REQUESTS.rps`, `REQUESTS.total` are reset by `box.stat.reset()`. Example of the new output: ``` --- - SENT: total: 5344924 rps: 840212 CONNECTIONS: current: 60 rps: 148 total: 949 REQUESTS: current: 17 rps: 1936 total: 12139 RECEIVED: total: 240882 rps: 38428 ... ```