influxdata/influxdb-relay

IInfluxdb-relay installation error: not enough arguments in call to models.ParsePointsWithPrecision

suvvenndu opened this issue · 4 comments

I am running following command to install influxdb-relay.
sudo go get -u github.com/influxdata/influxdb-relay


gocode/src/github.com/influxdata/influxdb-relay/relay/http.go:169:48: not enough arguments in call to models.ParsePointsWithPrecision
        have ([]byte, time.Time, string)
        want ([]byte, []byte, time.Time, string)
gocode/src/github.com/influxdata/influxdb-relay/relay/udp.go:163:48: not enough arguments in call to models.ParsePointsWithPrecision
        have ([]byte, time.Time, string)
        want ([]byte, []byte, time.Time, string)
root@lx-05:~#  not enough arguments in call to models.ParsePointsWithPrecision

Is this due to a missing package or actual bug ?

Me too,

go get -u github.com/influxdata/influxdb-relay

github.com/influxdata/influxdb-relay/relay

go/src/github.com/influxdata/influxdb-relay/relay/http.go:169: not enough arguments in call to models.ParsePointsWithPrecision
have ([]byte, time.Time, string)
want ([]byte, []byte, time.Time, string)
go/src/github.com/influxdata/influxdb-relay/relay/udp.go:163: not enough arguments in call to models.ParsePointsWithPrecision
have ([]byte, time.Time, string)
want ([]byte, []byte, time.Time, string)

Can you please try to check with https://github.com/vente-privee/influxdb-relay ?

@rockyluke , Thanks so much. I tried with the branch you provided and it works fine now.

Any idea , what was the issue?

The relay from influxdata is not maintained since more than 2 years. We decided to maintain our own.