aioinflux
aioinflux copied to clipboard
Support new Flux query syntax
Does this package support the new flux query syntax?
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 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.
Also, we have a new python client library for InfluxDB 2 that supports Flux. https://github.com/influxdata/influxdb-client-python
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.
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 there is some support for ASYNC writes in the https://github.com/influxdata/influxdb-client-python#asynchronous-client lib. Does that help?