Fixed upload to InfluxDB

Signed-off-by: Maxim Osipov <maxim.osipov@gmail.com>