Github user chewbranca commented on the pull request:
https://github.com/apache/couchdb-chttpd/pull/118#issuecomment-216970841
Yeah I agree with @kxepal on this, using a histogram is the correct choice
here. It looks like there was also some confusion on this issue as @rnewson
snuck in the actual fix for this issue back in
https://github.com/cloudant/couchdb-chttpd/commit/a49c47417cc9190f8b5afe0c058c9a742a6cf587.
I do think it's worthwhile to also track the doc count in `_bulk_get` and
that should be switched to a histogram like the above commit. The big question
there is whether to use a different histogram to be able to distinguish between
_bulk_get reads and _bulk_docs writes. I think having them separate would be
reasonable.
Also, we should get similar stats for quantify of docs returned and
provided in _all_docs and views and what not.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---