From 7be5607ef477db73b8d98f3f6c4cb58b2d222093 Mon Sep 17 00:00:00 2001 From: Thomas Heidrich Date: Mon, 4 May 2015 12:44:06 +0200 Subject: [PATCH] use influxdb08 InfluxDB 0.9 is not production ready yet, but the client library influxdb-python already moved the old API into another package. * rewired to deprecated package influxdb08 TODO: After 0.9 has been released and is usable, the API changes have to be applied to munininfluxdb as well. --- munininfluxdb/influxdbclient.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/munininfluxdb/influxdbclient.py b/munininfluxdb/influxdbclient.py index 04ebcd3..b8d26c6 100644 --- a/munininfluxdb/influxdbclient.py +++ b/munininfluxdb/influxdbclient.py @@ -3,7 +3,7 @@ import json from collections import defaultdict -import influxdb +import influxdb.influxdb08 as influxdb import rrd from utils import ProgressBar, parse_handle, Color, Symbol from rrd import read_xml_file @@ -368,4 +368,4 @@ def get_settings(self): # main used for dev/debug purpose only, use "import" e = InfluxdbClient() e.prompt_setup() - e.import_from_xml_folder("/tmp/xml") \ No newline at end of file + e.import_from_xml_folder("/tmp/xml")