influxdb-collectd-proxy
influxdb-collectd-proxy copied to clipboard
Make does not work with influxdb v0.8.8
I was able to get it built a few days ago, but am unable to build it now no matter what I do. Does anybody have any ideas?
root@influxdb-02:~/influxdb-collectd-proxy/influxdb-collectd-proxy# GOPATH=:pwd go version
'go version go1.4.1 linux/amd64
root@influxdb-02:~/influxdb-collectd-proxy/influxdb-collectd-proxy# make
GOPATH=:pwd go get github.com/paulhammond/gocollectd
GOPATH=:pwd go get github.com/influxdb/influxdb/client
GOPATH=:pwd go build -o bin/influxdb-collectd-proxy
_/root/influxdb-collectd-proxy/influxdb-collectd-proxy
./influxdb-collectd-proxy.go:107: undefined: client.ClientConfig ./influxdb-collectd-proxy.go:129: undefined: client.Series ./influxdb-collectd-proxy.go:138: client.WriteSeries undefined (type client.Client has no field or method WriteSeries) ./influxdb-collectd-proxy.go:144: undefined: client.Series ./influxdb-collectd-proxy.go:151: undefined: client.Series ./influxdb-collectd-proxy.go:156: undefined: client.Series ./influxdb-collectd-proxy.go:246: undefined: client.Series make: ** [build] Error 2
Also experiencing this issue, any work around?
I believe influxdb/client has changed. They removed WriteSeries. I'm trying to find a release that isn't broken. If you find one, post it here so others can benefit.
Can we use godeps and lock down the commit hash of the upstream project?
Actually, after it fails, or you do a 'make get'
Do this: cd src/github.com/influxdb/influxdb git checkout v0.8.7
make build
Then you're g2g.
OK, pull request #26 may help with this. Let's see what @hoonmin thinks is the best solution.
Anyone got a fix for this? Trying to setup this proxy but am getting this error.
Oh, sorry I'm late... I think Godep is the answer and @yanfali 's PR #26 looks good for me. Thank you all!
@hoonmin should you close this now?
@joelgriffiths thank you so much, you saved my time!
Hello Any support planned for the influxdb client v0.9.x ? I had to upgrade to influx database server 0.9 and cannot use the proxy anymore... When doing a 'go build' with influxdb client last version having the same compilation error as mentioned above.
./influxdb-collectd-proxy.go:107: undefined: client.ClientConfig ./influxdb-collectd-proxy.go:129: undefined: client.Series ./influxdb-collectd-proxy.go:138: client.WriteSeries undefined (type client.Client has no field or method WriteSeries) ./influxdb-collectd-proxy.go:144: undefined: client.Series ./influxdb-collectd-proxy.go:151: undefined: client.Series ./influxdb-collectd-proxy.go:156: undefined: client.Series ./influxdb-collectd-proxy.go:246: undefined: client.Series
Thanks for the help