Tina Luedtke c7f2647a62 Docs: Removed Google Analytics tags (#12145) 3 years ago
..
Makefile.inc d802f83e4a Fix make dist (#4401) 6 years ago
README.md c7f2647a62 Docs: Removed Google Analytics tags (#12145) 3 years ago
couchdb.chart.py f1d133190b collectors/python.d: format modules code (#7832) 5 years ago
couchdb.conf 5286dae8eb python.d.plugin update (#4936) 6 years ago

README.md

Apache CouchDB monitoring with Netdata

Monitors vital statistics of a local Apache CouchDB 2.x server, including:

  • Overall server reads/writes
  • HTTP traffic breakdown
    • Request methods (GET, PUT, POST, etc.)
    • Response status codes (200, 201, 4xx, etc.)
  • Active server tasks
  • Replication status (CouchDB 2.1 and up only)
  • Erlang VM stats
  • Optional per-database statistics: sizes, # of docs, # of deleted docs

Configuration

Edit the python.d/couchdb.conf configuration file using edit-config from the Netdata config directory, which is typically at /etc/netdata.

cd /etc/netdata   # Replace this path with your Netdata config directory, if different
sudo ./edit-config python.d/couchdb.conf

Sample for a local server running on port 5984:

local:
  user: 'admin'
  pass: 'password'
  node: 'couchdb@127.0.0.1'

Be sure to specify a correct admin-level username and password.

You may also need to change the node name; this should match the value of -name NODENAME in your CouchDB's etc/vm.args file. Typically this is of the form couchdb@fully.qualified.domain.name in a cluster, or couchdb@127.0.0.1 / couchdb@localhost for a single-node server.

If you want per-database statistics, these need to be added to the configuration, separated by spaces:

local:
  ...
  databases: 'db1 db2 db3 ...'