the script is a early proof of concept and might be using bulk commits or threading in the future. the performance is not mindblowing at the moment.
usage: whisper-to-influxdb.py [-h] [-host host] [-port port] [-user user]
[-password password] [-db db]
path
the script will parse the given path recursively and search for whisper files. the found whisper files are being read and None values are omitted.
influxDB naming:
OS path:
tmp/tracker-001/cpu.wsp
tmp/tracker-001/eth0_rx.wsp
tmp/tracker-001/rabbit_queue.wsp
script will commit to the database "whisper":
timeseries: tracker-001
value: cpu
timeseries: tracker-001
value: eth0_rx
timeseries: tracker-001
value: rabbit_queue