Skip to content
Benoit Chesneau edited this page Oct 2, 2013 · 1 revision

This document describes how to get some metrics from rcouch using the /_stats HTTP resource. It complete the official documentation with enhancements added to rcouch:

http://docs.couchdb.org/en/latest/api/server/common.html#stats

HTTP metrics

  • get the number of running connections: GET /_stats/httpd/connections

VM stats

To retrieve statsistics from the Erlang VM. useful to troubleshout a node:

  • Get system info: GET /_stats/vm/system

Exposing the system informations from the Erlang VM. For an explanation of all the propoerties you can read the Erlang documentation .

  • Get memory info: GET /_stats/vm/memory

Get memory informations about the VM

  • Get ports info: GET /_stats/vm/port

Get all running ports in the VM. A port can be an external process, A shared lib or a socket. On the sockets you can get the in and out bandwidth.

  • Get processes informations: GET /_stats/vm/process

List all Erlang processes and get informations about them

  • Get ETS informations: GET /_stats/vm/ets

  • Get DETS informations: GET /_stats/vm/dets

Clone this wiki locally