couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Davis <paul.joseph.da...@gmail.com>
Subject Re: in _stats, how is couchdb.request_time calculated?
Date Tue, 05 Jan 2010 16:56:26 GMT
Still just shooting from memory on holiday, but that should mean that
you only had 2 requests in a 1 second window of the 60 seconds. The
stats modules work by accumulating values and then aggregating. The
different range query parameters just show a longer history for each
endpoint.

HTH,
Paul Davis

On Tue, Jan 5, 2010 at 12:11 PM, Matteo Caprari
<matteo.caprari@gmail.com> wrote:
> Hi.
>
> I'm looking at this snippet from _stats?range=60
>
> "couchdb": {
>     "request_time": {
>            "description": "",
>            "current": 36.5,
>            "sum": 36.5,
>            "mean": 18.25,
>            "stddev": 22.274,
>            "min": 2.5,
>            "max": 34.0
>        },
>
> Looking at how numbers add up, it looks like there have been 2
> requests, but 'sum' is 3 in http.requests for the same period
>
>  "requests": {
>       "description": "number of HTTP requests",
>            "current": 3.0,
>            "sum": 3.0,
>            "mean": 0.05,
>            "stddev": 0.287,
>            "min": 0,
>            "max": 2
>        }
>
> tnx
>
> --
> :Matteo Caprari
> matteo.caprari@gmail.com
>

Mime
View raw message