Closed mr337 closed 8 years ago
See https://github.com/HubSpot/BuckyServer/pull/18 It's more backwards compatible.
Bleh, I'll take your word for it.
I welcome criticism for my PR, sry if I came off harsh. 0.9 has deprecated json format, and it will be removed in 1.0, so I took it out as an option, 0.9 always sends as line protocol. I also included necessary changes for sending retention policy. Also, check out my changes to the client for influxDBLineProtocol https://github.com/JSMike/BuckyClient
No not at all @JSMike, js and coffeescript are not my strong suit at all. In fact first time I have messed with coffeescript and influxdb. So been learning a lot recently!
This PR adds line protocol support when using influxdb version 0.9 and use_json is true.
Backward compatibility is kept for JSON for 0.8 and 0.9. This PR doesn't support tagging for v0.9 via line protocol. I'd be interested to hear any ideas on how to support them since there are different tags for different sites/organizations.