zhangyang1995

Results 5 comments of zhangyang1995

> proxy框架可以正常传递授权信息到influx,对于write,proxy没有传递正常的授权信息导致写入失败。 在哪里修改的授权信息啊

同样的信息我log日志显示 2020/11/04 16:15:18.228354 http.go:208: write status code: 400 2020/11/04 16:15:18.228492 http.go:215: error response: {"error":"unable to parse '\"insert disk_free,hostname=server01 value=442.0 1429185600000000001\"': invalid boolean"} 2020/11/04 16:15:18.228512 backends.go:174: bad request, drop all data....

> 同样的信息我log日志显示 > 2020/11/04 16:15:18.228354 http.go:208: write status code: 400 > 2020/11/04 16:15:18.228492 http.go:215: error response: {"error":"unable to parse '"insert disk_free,hostname=server01 value=442.0 1429185600000000001"': invalid boolean"} > > 2020/11/04 16:15:18.228512 backends.go:174:...

> [influxdata/influxdb#11035](https://github.com/influxdata/influxdb/issues/11035) > 问题还在 > 解决办法: > go get - u github.com/influxdata/influxdb1-client (新的依赖地址) > go get -u github.com/shell909090/influx-proxy/service > 报错之后 > 找到(go env)$GOPATH/src/github.com/shell909090/influx-proxy/monitor/metric.go > 修改为 client "github.com/influxdata/influxdb1-client/v2" > 到$GOPATH/src/github.com/shell909090/influx-proxy/service目录 go...