Extracts metrics from CouchDB