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

Support for InfluxQL queries #129

Open
SMillerDev opened this issue Jul 16, 2023 · 2 comments
Open

Support for InfluxQL queries #129

SMillerDev opened this issue Jul 16, 2023 · 2 comments

Comments

@SMillerDev
Copy link

Proposal:
Since InfluxCloud Serverless prefers InfluxQL again it would be good if we can use this library to query it.

Current behavior:
Currently non-flux queries throw errors.

Desired behavior:
Non-flux queries should work

Alternatives considered:
Just giving up on InfluxDB altogether since the requirements change so much between versions that even internal libraries can keep up.

Use case:
Nobody using the latest InfluxDB version can use this library, including people who were forced to a newer version because their old data got deleted with the rest of the region.

@kaspergrubbe
Copy link

I asked @pauldix about it here: https://twitter.com/kaspergrubbe/status/1684535376294154240

My understanding:

Paul Dix answers:

  • Using the old v1 gem is your best bet. InfluxDB 2.0 implements the v1 query API and 3.0 will as well.
  • You'll be able to point to a 3.0 DB as though it is a 1.0 DB.
  • Later, there will be a 3.0 Rubygem that uses the faster Arrow Flight protocol.

@timdiggins
Copy link

@kaspergrubbe I don't quite follow you / @pauldix, old gem's client requires username and password and doesn't seem to support tokens at all.

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

3 participants