1. Steve Losh
  2. metrics-clojure

Commits

Steve Losh  committed b66a426

Make histograms biased by default.

  • Participants
  • Parent commits a237fcc
  • Branches default

Comments (0)

Files changed (2)

File project.clj

View file
  • Ignore whitespace
-(defproject metrics-clojure "0.1.0"
+(defproject metrics-clojure "0.4.0"
   :description "A Clojure façade for Coda Hale's metrics library."
   :dependencies [[org.clojure/clojure "1.2.1"]
                  [com.yammer.metrics/metrics-core "2.0.0-BETA17"]]

File src/metrics/histograms.clj

View file
  • Ignore whitespace
 
 ; Create ----------------------------------------------------------------------
 (defn histogram
-  ([title] (histogram title false))
+  ([title] (histogram title true))
   ([title biased]
    (Metrics/newHistogram (metric-name title) biased)))