diff --git a/src/chttpd_db.erl b/src/chttpd_db.erl index 9347c1a..cc113ab 100644 --- a/src/chttpd_db.erl +++ b/src/chttpd_db.erl @@ -448,6 +448,7 @@ db_req(#httpd{method='POST', path_parts=[_, <<"_bulk_get">>]}=Req, Db) -> undefined -> throw({bad_request, <<"Missing JSON list of 'docs'.">>}); Docs -> + couch_stats:update_histogram([couchdb, httpd, bulk_reads], length(Docs)), #doc_query_args{ options = Options } = bulk_get_parse_doc_query(Req),