     registry))
 
 (defn ^Metric register-metric
+  ([{:keys [registry metric name]}]
+    (if name
+      (register-metric registry name metric)
+      (register-metric registry metric)))
   ([^MetricRegistry registry ^Metric metric]
     (chain-register-metric registry metric)
     metric)

  (if reporter
    (.stop reporter))
  reporter)

           [java.util.concurrent TimeUnit])
  (:require [clojure.string :refer [blank?]]))

(defn
  ^{:doc "
  config for example:

 {:prefix nil
