influxdb-rails
influxdb-rails copied to clipboard
Support for Influx DB 2.0
Hiyo,
Just wondering if there was any plans for supporting Influx DB 2.0? I noticed that it requires a different client library and it's API is quite different too.
However this library doesn't interact with a huge surface of said API, so similar to the TestClient it might be possible towrite an InfluxDB2 Client which implemented write, which seems to be the only method needed. But unsure how you'd want to do that with backward compat of library, recommended configuration, etc.
Happy to put in some leg work for this and I've already got some ideas, just looking to see if there were plans or direction for it already first.
Thoughts?
As InfluxDB < 1.8 doesn't seem to be a thing anymore, we should probably just swap out the client library? @ChrisBr thoughts?
As InfluxDB < 1.8 doesn't seem to be a thing anymore, we should probably just swap out the client library? @ChrisBr thoughts?
I don't use InfluxDB anymore. Are you folks happy to use InfluxDB > 2 at openSUSE?
Yeah maintaining only one version would be easier than two so definitely happy to drop support for 1.8 if we decide to go for 2.0. Should be easy to swap, right (famous last words ...)?
We would only drop 1.7, 1.8 is supported by https://github.com/influxdata/influxdb-client-ruby
Let's try for 1.0.2, or 2.0 maybe? hehe
Initial support https://github.com/influxdata/influxdb-rails/pull/160. Still some stuff left to fix though.