Source

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

Diff from to

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

                     event-type
                     TimeUnit/SECONDS))
 
-(defmacro defmeter [title event-type]
+(defmacro defmeter
+  "Define a new Meter metric with a given title and event type."
+  [title event-type]
   `(def ~title (meter ~(str title) ~event-type)))