a library for datomic that sends metrics to riemann
Clojure
Switch branches/tags
Nothing to show
Latest commit a397027 Feb 28, 2015 @tcrayford tcrayford release 0.2.0
Permalink
Failed to load latest commit information.
doc initial commit Feb 13, 2014
src Update riemann-clojure-client and send-event function name Feb 27, 2015
.gitignore initial commit Feb 13, 2014
LICENSE initial commit Feb 13, 2014
README.md add readme Apr 15, 2014
project.clj release 0.2.0 Feb 28, 2015

README.md

datomic-riemann-reporter

A tiny clojure library that reports datomic metrics to riemann

Usage

Drop an uberjar in $DATOMIC_DIR/lib, then add this to your transactor's properties file:

metrics-callback=datomic-riemann-reporter/report-datomic-metrics-to-riemann

Then you need to set these two environment variables:

RIEMANN_HOST=your_riemann_host
RIEMANN_PORT=port

Note you explicitly have to set port - this library doesn't have any defaults built into it.

Then restart your transactor, and you'll see events showing up in riemann. All events will be tagged "datomic", and start with "datomic". Event names come from the metrics available on http://docs.datomic.com/monitoring.html.

License

Copyright © 2014 Tom Crayford

Distributed under the Eclipse Public License version 1.0