couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dav...@apache.org
Subject [18/50] folsom commit: updated refs/heads/import-master to 4824aec
Date Thu, 31 Jul 2014 21:25:06 GMT
add tuple default for slide_uniform


Project: http://git-wip-us.apache.org/repos/asf/couchdb-folsom/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-folsom/commit/217d1451
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-folsom/tree/217d1451
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-folsom/diff/217d1451

Branch: refs/heads/import-master
Commit: 217d14515cd5bdbf61e74411652eeb27a1b2ed5d
Parents: 497559d
Author: Christopher A. Stelma <stelminator@gmail.com>
Authored: Wed Oct 30 16:19:26 2013 -0700
Committer: Christopher A. Stelma <cstelma@tagged.com>
Committed: Wed Oct 30 16:34:10 2013 -0700

----------------------------------------------------------------------
 src/folsom_metrics.erl | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-folsom/blob/217d1451/src/folsom_metrics.erl
----------------------------------------------------------------------
diff --git a/src/folsom_metrics.erl b/src/folsom_metrics.erl
index 40f66f2..f844d1f 100644
--- a/src/folsom_metrics.erl
+++ b/src/folsom_metrics.erl
@@ -84,6 +84,8 @@ new_gauge(Name) ->
 new_histogram(Name) ->
     folsom_metrics:new_histogram(Name, ?DEFAULT_SAMPLE_TYPE, ?DEFAULT_SIZE, ?DEFAULT_ALPHA).
 
+new_histogram(Name, slide_uniform) ->
+    folsom_metrics:new_histogram(Name, slide_uniform, {?DEFAULT_SLIDING_WINDOW, ?DEFAULT_SIZE},
?DEFAULT_ALPHA);
 new_histogram(Name, SampleType) ->
     folsom_metrics:new_histogram(Name, SampleType, ?DEFAULT_SIZE, ?DEFAULT_ALPHA).
 


Mime
View raw message