incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matteo Caprari <matteo.capr...@gmail.com>
Subject Re: in _stats, how is couchdb.request_time calculated?
Date Tue, 05 Jan 2010 17:39:09 GMT
Thanks paul :)

I swear, I'm not trying to disturb your holiday. But I still don't
understand why couchdb.requests_time sees 2 requests while
httpd.requests sees 3 (it this is what is happening).

My ass is freezing, hope your holidays are warm :)

On Tue, Jan 5, 2010 at 4:56 PM, Paul Davis <paul.joseph.davis@gmail.com> wrote:
> 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
>>
>



-- 
:Matteo Caprari
matteo.caprari@gmail.com

Mime
View raw message