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 months ago
JSON representation
A tiny lib that lets Datomic transactors report events to Riemann.
- Host: GitHub
- URL: https://github.com/yetanalytics/datomic-riemann
- Owner: yetanalytics
- License: epl-1.0
- Created: 2017-06-30T15:00:48.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-06-30T15:27:08.000Z (almost 9 years ago)
- Last Synced: 2025-07-17T08:16:43.665Z (11 months ago)
- Language: Clojure
- Size: 9.77 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
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.