Github user kxepal commented on a diff in the pull request:
https://github.com/apache/couchdb-couch-mrview/pull/7#discussion_r18780303
--- Diff: src/couch_mrview_updater.erl ---
@@ -301,6 +301,7 @@ send_partial(_, _) ->
update_task(NumChanges) ->
+ couch_stats:increment_counter([couchdb, mrview, map_docs], NumChanges),
--- End diff --
The very equivalent place is this one anonymous function
https://github.com/apache/couchdb-couch-mrview/blob/master/src/couch_mrview_updater.erl#L150
, but I'm more not sure if it's good place for stats handling.
---
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.
---