Skip to content

fullcontact/full.metrics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Clojure application metrics and monitoring sugar

Resources

License

Stars

Watchers

Forks

Packages

No packages published