Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does this package support InfluxDb 2.x #78

Open
sonamgupta28 opened this issue Jul 28, 2021 · 5 comments
Open

Does this package support InfluxDb 2.x #78

sonamgupta28 opened this issue Jul 28, 2021 · 5 comments

Comments

@sonamgupta28
Copy link

Does the latest version of the package support interaction with Influx2.x version?
Can you guys let me know as I was using this package but now I have to migrate from Influx1.0 to Influx2.x

@DezzardHD
Copy link

Hey @sonamgupta28,
I was wondering if you might have tried using this library to write data to InfluxDB v2.0.
Currently trying to find a library that targets .NET Framework 4.5. So this would be an option to use if it's working fine with InfluxDB v2.0.

Considering the InfluxDB API reference documentation I don't have much hope, that this library is able to communicate with InfluxDB 2.x.
It seems as if they changed the API, so versions from 1.8.0 or higher can be used with the same API.

@smairo
Copy link

smairo commented Sep 13, 2021

https://docs.influxdata.com/influxdb/v2.0/reference/api/influxdb-1x/ there is possibility of using compatibility layer for queries and writes, but I highly doubt that everything works straight away and would require a modifications.

@DezzardHD
Copy link

DezzardHD commented Sep 13, 2021

Hey @smairo,
thanks for the hint. I'll try to make it work using the compatibility layer of InfluxDB v2.0.

@DezzardHD
Copy link

I managed to write data to InfluxDB 2.0 by using the compatibility layer of InfluxDB 2.0. (You'll have to configure the InfluxDB for this.)
This library works perfectly fine for this.

@mudasarellahi
Copy link

write and query works fine, methods for retention policy doesn't work because it has been changed to buckets.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants