The database, username, and password combination definitely work. The following configuration for grafana doesn't tho.
datasources: {
influxdb: {
type: 'influxdb',
url: "http://XXX.XXX.XXX.XX:8086/db/dbname",
username: 'username',
password: 'password',
default: true
},
},
I've tried removing the default parameter, changing influxdb to influx, and append /series to the url, all to no avail. Has anyone gotten this to work?
I'm using this below configuration and it works. Try insert the grafana database into your db and add grafana db configuration.
...
datasources: {
influxdb: { type: 'influxdb', url: "http://localhost:8086/db/test", username: 'root', password: 'XXXX' }, grafana: { type: 'influxdb', url: "http://localhost:8086/db/grafana", username: 'root', password: 'XXXX', grafanaDB: true } },...
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With