couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rnew...@apache.org
Subject couch-mrview commit: updated refs/heads/master to 852b7bd
Date Fri, 29 Aug 2014 18:38:19 GMT
Repository: couchdb-couch-mrview
Updated Branches:
  refs/heads/master 33a51ccd6 -> 852b7bd86


fix stats path


Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch-mrview/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch-mrview/commit/852b7bd8
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch-mrview/tree/852b7bd8
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-couch-mrview/diff/852b7bd8

Branch: refs/heads/master
Commit: 852b7bd8623a7908c86a8a367328776304200f94
Parents: 33a51cc
Author: Robert Newson <rnewson@apache.org>
Authored: Fri Aug 29 19:37:57 2014 +0100
Committer: Robert Newson <rnewson@apache.org>
Committed: Fri Aug 29 19:37:57 2014 +0100

----------------------------------------------------------------------
 src/couch_mrview_http.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-couch-mrview/blob/852b7bd8/src/couch_mrview_http.erl
----------------------------------------------------------------------
diff --git a/src/couch_mrview_http.erl b/src/couch_mrview_http.erl
index 4ae72f3..9155619 100644
--- a/src/couch_mrview_http.erl
+++ b/src/couch_mrview_http.erl
@@ -49,7 +49,7 @@ handle_all_docs_req(Req, _Db) ->
 
 handle_view_req(#httpd{method='GET'}=Req, Db, DDoc) ->
     [_, _, _, _, ViewName] = Req#httpd.path_parts,
-    couch_stats:increment_counter([httpd, view_reads]),
+    couch_stats:increment_counter([couchdb, httpd, view_reads]),
     design_doc_view(Req, Db, DDoc, ViewName, undefined);
 handle_view_req(#httpd{method='POST'}=Req, Db, DDoc) ->
     [_, _, _, _, ViewName] = Req#httpd.path_parts,


Mime
View raw message