/lemur-influxdb

InfluxDB metric plugin for Lemur

Primary LanguagePythonMIT LicenseMIT

lemur-influxdb

InfluxDB metric plugin for Lemur.

Installation

pip install -e git+https://github.com/titouanc/lemur-influxdb#egg=lemur-influxdb

Configuration

Add the following to your lemur.conf.py:

# Add to active metric providers
METRIC_PROVIDERS = ['influxdb']

# Set the following variables
INFLUXDB_HOST = "localhost"  # Where's the InfluxDB server
INFLUXDB_PORT = 8086         # On which port is it listening
INFLUXDB_UDP = False         # Whether to use the UDP protocol or http
INFLUXDB_DATABASE = "lemur"  # Name of the database for lemur's metrics

If any of the INFLUX_* variable is not set, it will use default values. The declarations above show the default values.