/bernhard

Python Riemann client.

Primary LanguagePythonApache License 2.0Apache-2.0

Bernhard

A simple Python client for Riemann. Usage:

import bernhard

c = bernhard.Client()
c.send({'host': 'myhost.foobar.com', 'service': 'myservice', 'metric': 12})
q = c.query('true')

Installing

pip install bernhard

You may encounter issues with the protobuf dependency; if so, just run pip install protobuf manually, then pip install bernhard.