Source

metrics-clojure / metrics-clojure-core / src / metrics / timers.clj

Diff from to

File metrics-clojure-core/src/metrics/timers.clj

                     TimeUnit/MILLISECONDS
                     TimeUnit/SECONDS))
 
-(defmacro deftimer [title]
+(defmacro deftimer
+  "Define a new Timer metric with the given title."
+  [title]
   `(def ~title (timer ~(str title))))