couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eiri <e...@eiri.ca>
Subject Re: /_stats not working on 2.0
Date Thu, 01 Dec 2016 21:00:10 GMT
Hi Garth,

Stats are node specific, so they are on nodes interface /_node/{node@name}/_stats in 2.0,
 e.g. /_node/node1@127.0.0.1/_stats


Regards,
Eric

> On Dec 1, 2016, at 15:26, Garth Gutenberg <garth.gutenberg@gmail.com> wrote:
> 
> When I try hitting localhost:5984/_stats I get:
> 
> {"error":"not_found","reason":"Database does not exist."}
> 
> On my 1.6 box it returns stats as expected.  All of the 2.0 docs still
> refer to /_stats, but it's not working for me.
> 
> Of note, I'm testing this against a cluster setup.  Could that be the
> problem?  Is /_stats not supported in a cluster?  If not, what is the
> equivalent?


Mime
View raw message