You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by rn...@apache.org on 2014/09/02 17:27:09 UTC
[2/2] couch-stats commit: updated refs/heads/master to 1c3dae9
include gauges
Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch-stats/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch-stats/commit/1c3dae96
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch-stats/tree/1c3dae96
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-couch-stats/diff/1c3dae96
Branch: refs/heads/master
Commit: 1c3dae9616bf70e3af21a7481da2fb59afdc2940
Parents: 98067e0
Author: Robert Newson <rn...@apache.org>
Authored: Tue Sep 2 16:26:50 2014 +0100
Committer: Robert Newson <rn...@apache.org>
Committed: Tue Sep 2 16:26:50 2014 +0100
----------------------------------------------------------------------
src/couch_stats_httpd.erl | 2 ++
1 file changed, 2 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/couchdb-couch-stats/blob/1c3dae96/src/couch_stats_httpd.erl
----------------------------------------------------------------------
diff --git a/src/couch_stats_httpd.erl b/src/couch_stats_httpd.erl
index ab8b851..415ab4e 100644
--- a/src/couch_stats_httpd.erl
+++ b/src/couch_stats_httpd.erl
@@ -37,6 +37,8 @@ transform_stats([{Key, Props} | Rest], Acc) ->
transform_stat(counter, Props) ->
Props;
+transform_stat(gauge, Props) ->
+ Props;
transform_stat(histogram, Props) ->
lists:map(fun
({value, Value}) ->