vimeo / whisper-to-influxdb

migrate (import) graphite data from whisper to influxdb
Apache License 2.0
58 stars 13 forks source link

unable to build #3

Open axelpavageau opened 9 years ago

axelpavageau commented 9 years ago

Hi,

I'm unable to build, on a debian 7.5 with Go 1.4.1

go build whisper-to-influxdb.go 
# command-line-arguments
./whisper-to-influxdb.go:48: undefined: client.Series
./whisper-to-influxdb.go:121: undefined: client.Series
./whisper-to-influxdb.go:127: undefined: client.Series
./whisper-to-influxdb.go:129: influxClient.WriteSeriesWithTimePrecision undefined (type *client.    Client has no field or method WriteSeriesWithTimePrecision)
./whisper-to-influxdb.go:129: undefined: client.Second
./whisper-to-influxdb.go:304: undefined: client.ClientConfig

Am I missing anything ?

Dieterbe commented 9 years ago

influxdb pushed a bunch of breaking changes to master. you could work around this by going into $GOPATH/src/github.com/influxdb/influxdb and running git checkout 0.8 and retrying the build

Dieterbe commented 9 years ago

somebody should patch this project to use Godep against the best influxdb client version

awmyhr commented 9 years ago

Hello,

On RedHat 6.6 with go 1.3.3, same problem even after checking out influxdb version 0.8 as indicated. Tried other influxdb versions as well. Unfortunately, I don't know golang. Sad panda is sad...

Dieterbe commented 9 years ago

try 0.8.8

artkrz commented 9 years ago

Checked out v0.8.8 of github.com/influxdb/influxdb/client

and have same issue:

go run whisper-to-influxdb.go -all

command-line-arguments

./whisper-to-influxdb.go:48: undefined: client.Series ./whisper-to-influxdb.go:121: undefined: client.Series ./whisper-to-influxdb.go:127: undefined: client.Series ./whisper-to-influxdb.go:129: influxClient.WriteSeriesWithTimePrecision undefined (type *client.Client has no field or method WriteSeriesWithTimePrecision) ./whisper-to-influxdb.go:129: undefined: client.Second ./whisper-to-influxdb.go:308: undefined: client.ClientConfig

zas commented 8 years ago

Same issue here, tried various branches, no success. What about fixing the program to work with recent sources ?

forkingpath commented 8 years ago

I think you'd have to submit a PR - I don't know if @Dieterbe still has access to this repo.

Dieterbe commented 8 years ago

yeah someone should file a PR, then we can fix it.

george-marcel commented 7 years ago

Is this fixed please?