influxdb 配置文件修改

2.创建influxdb数据源(密码使用docker run 时候设置的密码)

ps :上图可能会在创建的时候502错误,查看grafana日志为

2019/06/21 02:24:31 http: proxy error: dial tcp 192.168.11.129:8086: connect: no route to host
t=2019-06-21T02:24:31+0000 lvl=info msg="Request Completed" logger=context userId=1 orgId=1 uname=admin method=GET path=/api/datasources/proxy/1/query status=502 remote_addr=192.168.11.1 time_ms=1024 size=0 referer=http://192.168.11.129:3000/datasources/edit/1/

后参考https://www.cnblogs.com/performancetest/p/5716595.html,更改配置为

原文地址:https://www.cnblogs.com/xiaoyii/p/11032514.html