Source

metrics-clojure / src / metrics / core.clj

Diff from to

src/metrics/core.clj

   (:import (java.util.concurrent TimeUnit)))
 
 
-(defn remove-metric [title]
+(defn remove-metric
+  "Remove the metric with the given title."
+  [title]
   (.removeMetric (Metrics/defaultRegistry) (metric-name title)))
 
 
-(defn report-to-console [seconds]
+(defn report-to-console
+  "Report all metrics to standard out every few seconds."
+  [seconds]
   (ConsoleReporter/enable seconds TimeUnit/SECONDS))
+
+