adapted new influxdb client package