Skip to content

Commit

Permalink
Use proper import syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
AeroNotix committed Dec 2, 2014
1 parent d81765d commit 4bf5888
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/source/aggregation.rst
Expand Up @@ -22,7 +22,7 @@ Note: You must include ``metrics-clojure-graphite`` in your project.clj.
metrics-clojure supports aggregating metrics to graphite::

(require '[metrics.reporters.graphite :as graphite])
(import '[java.util.concurrent.TimeUnit])
(import '[java.util.concurrent TimeUnit])
(import '[com.codahale.metrics MetricFilter])

(def GR (graphite/reporter {:host "your.graphite.host"
Expand Down Expand Up @@ -56,7 +56,7 @@ and should work, it still needs testing.
metrics-clojure supports aggregating metrics to ganglia::

(require '[metrics.reporters.ganglia :as ganglia])
(import '[java.util.concurrent.TimeUnit])
(import '[java.util.concurrent TimeUnit])
(import '[com.codahale.metrics MetricFilter])

(def ganglia (... your ganglia GMetric config here ...))
Expand Down

0 comments on commit 4bf5888

Please sign in to comment.