Liking cljdoc? Tell your friends :D

full.metrics

Clojars Project Build Status

Clojure application metrics and monitoring sugar.

Configuration

full.metrics reports to Riemann. T

riemann:
  host: metrics.yourhost.com
  protocol: udp
  tags: [service-name]

Examples:

To measure an execution time of an async method:

(defn foo> []
  (go-try-timeit "foo.bar.metric"
    (<! (async-things))))

To see these metrics in Riemann, you can then use the following

tagged "service-name"
and service =~ "%0.95"
and host = nil

There's thread-try-timeit for wrapping full.async/thread-try requests.

Can you improve this documentation?Edit on GitHub

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close