Hi there!
Could you point me out the easiest way or a link with an example or docs to switch to InfluxDB2.0?
The problem is that in the old version we use a database (database), but in 2.0 we have a bucket…
A chunk of python script is:
from influxdb import InfluxDBClient
client = InfluxDBClient('localhost', 9999, 'root', 'root', 'database')
client.write_points([json_for_influxdb]) # Should be a list of nested dictionaries - json