Skip to content
This repository was archived by the owner on Feb 17, 2026. It is now read-only.
This repository was archived by the owner on Feb 17, 2026. It is now read-only.

couchdb 2.0 uses port 5986 for _stats endpoint #34

Open

Description

@javamonn

Clustering was introduced in CouchDB 2.0, and the _stats endpoint no longer exists at the cluster level, i.e. http://couchdb-host:5984/_stats will 404. _stats is a "node level" API and is now accessible at http://couchdb-host:5986/_stats. Some sparse documentation of this exists here and a discussion relating to this issue here.

Perhaps it makes sense to update the default couchdb.conf template to use http://localhost:5986/_stats or to notate the different port for installation on 2.0? This was the only change I had to make to use the monitoring plugin with CouchDB 2.0. I can PR this if it would be accepted.

Activity

  1. igorpeshansky commented on May 3, 2017

    @igorpeshansky
    Contributor

    Thanks. Please feel free to send a PR after signing the CLA. It's probably best to add a separate couchdb-2.conf file. Also note that these configs are generated from Jinja templates, so you'd want to include two commits into the PR -- one for adding the new template, and the other with the generated file (see #36 for an example).

  2. removed their assignment
    on Apr 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions