couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Garth Gutenberg <garth.gutenb...@gmail.com>
Subject Re: /_stats not working on 2.0
Date Thu, 01 Dec 2016 21:06:11 GMT
Awesome!  Works like a charm.  Thanks.

On Thu, Dec 1, 2016 at 4:00 PM, Eiri <eiri@eiri.ca> wrote:

> 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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message