aioinflux icon indicating copy to clipboard operation
aioinflux copied to clipboard

Support new Flux query syntax

Open jared-mackey opened this issue 6 years ago • 6 comments

Does this package support the new flux query syntax?

jared-mackey avatar Jan 24 '19 01:01 jared-mackey

No, it currently does not.

I have looked at InfluxDB docs but couldn't find any documentation on an HTTP API endpoint for Flux queries. The query endpoint seems to be at /api/v2/query (according to https://github.com/influxdata/docs.influxdata.com/issues/1926).

I guess we'll have to wait until Flux (and docs regarding its HTTP API) becomes more mature.

gusutabopb avatar Jan 24 '19 01:01 gusutabopb

@gusutabopb thanks for maintaining this. We continue to improve Flux support in the 1.7 (and 2.0) line for InfluxDB. At this point, we don't expect the api endpoints to change, so it might be a good time to revisit this.

let me know if you need any help or support and I'll connect you to the right people. And if you'd like, join the InfluxDB community Slack channel (https://influxdata.com/slack) and you can chat directly with the team developing Flux.

russorat avatar Dec 11 '19 20:12 russorat

Also, we have a new python client library for InfluxDB 2 that supports Flux. https://github.com/influxdata/influxdb-client-python

russorat avatar Dec 11 '19 20:12 russorat

I added an experimental proof of concept for a client for API Version 2. I would be very grateful for comments. If you think this could be useful, I could continue the implementation and eventually create a PR.

claashk avatar Dec 23 '20 22:12 claashk

Now 2.0 is out and the influx-client official library still doesn't have async support, should this library be compatible with v2 ?

markmnl avatar Mar 15 '21 01:03 markmnl

@markmnl there is some support for ASYNC writes in the https://github.com/influxdata/influxdb-client-python#asynchronous-client lib. Does that help?

russorat avatar Mar 15 '21 15:03 russorat