-
Notifications
You must be signed in to change notification settings - Fork 522
Add support for InfluxDB line protocol write API #191
Comments
I'd also like to point out that UDP writes are currently broken since JSON over UDP was dropped in 0.9.0 already (in favor of this new line protocol). Tempted to take a stab at this if @aviau isn't working on it already. |
@trehn I'm not yet working on it. Your contribution would be much appreciated! Go ahead and I'll review :) |
I have an initial implementation here: https://github.com/trehn/influxdb-python/commits/feature/line-protocol
|
@trehn Thanks for your effort, it seems like InfluxDB is still fast moving target as I had to do following small fixes on top of your changes to get it working again. |
Please make sure that the line protocol is optional. Maybe you can open a PR? |
Why should the line protocol be optional? From what I read in influxdata/influxdb#2696 it sounds like JSON is going away. I'll merge the changes from @ynezz into my branch and try to get rid of the test failures. |
I didn't catch that at first. You are right then! |
As I understand it, JSON is going away once 1.0 is released, but JSON over TCP is remaining until then. I don't think keeping it around for a bit is such a bad idea since that is not a moving target. By keeping it around you have something functional to fallback on if the new line protocol implementation comes out of sync again. |
@aviau When will you add line protocol into your branch? |
@aviau Is there a reason this issue is still open line write was merged into master? Is it still not working fully yet? |
@adventures91 Forgot to close. ... Done! |
@aviau cool thanks! Any chance you could add this to a release? |
Yes, soon! Until then...
|
InfluxDB recently introduced a new line protocol write API, for more efficient bulk entry of points:
influxdata/influxdb#2696
It would be awesome if support for this could be added in the Python client!
The text was updated successfully, but these errors were encountered: