0.1.2 • Published 8 years ago

concava-adapter-influxdb v0.1.2

Weekly downloads
3
License
MIT
Repository
github
Last release
8 years ago

ConCaVa InfluxDB adapter

ConCaVa adapter for storage in InfluxDB.

See ConCaVa with MySQL and InfluxDB for a working setup.

Requires ConCaVa v0.4+.

Install

npm install concava-adapter-influxdb

Configure

A ConCaVa configuration example:

import { storage } from 'concava-adapter-influxdb'

export default {
	debug: true,

	...

	storage: {
		method: storage,
		config: {
			host: 'example.com',
			port: 8086,
			protocol: 'http',
			username: 'root',
			password: 'verysecurepassword',
			database: 'concava',
			series: 'SensorData',
		},
	},
}