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

@javamonn

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions