Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/yetanalytics/datomic-riemann

A tiny lib that lets Datomic transactors report events to Riemann.
https://github.com/yetanalytics/datomic-riemann

Last synced: 8 days ago
JSON representation

A tiny lib that lets Datomic transactors report events to Riemann.

Awesome Lists containing this project

README

        

# datomic-riemann

A Riemann metrics client wrapper for use with Datomic. Uses unencrypted TCP, not for use on public networks!

## Usage

1. Build a jar: `lein uberjar`
2. Place the standalone jar on the Datomic classpath (`lib/`)
3. In your Datomic properties file, [set the metrics callback](http://docs.datomic.com/monitoring.html#sec-2) ie: `metrics-callback=my.ns/handler`
4. Configure logging in Datomic's `bin/logback.xml`, for example: ``
5. Run Datomic with the following env vars set:
* `RIEMANN_HOST=

` (required)
* `RIEMANN_PORT=` (optional)
* `RIEMANN_EVENT_HOST=` (optional)

The callback will drop events (with a warning in the log) if the metrics client is not connected. This differs from the default behavior of `riemann-clojure-client`, and may change in the future.

## License

Copyright © 2017 Yet Analytics Inc.

Distributed under the Eclipse Public License either version 1.0 or (at
your option) any later version.