import { InfluxDB } from 'influx';

let params = {
    host: 'influxdb.cpe.wtf',
    port: 8086,
    username: 'demeter',
    password: process.env.DEMETER_INFLUX_PASS,
    schema: [],
    pool: {
        requestTimeout: 30000
    }
};

export const InfluxClient = new InfluxDB(params);