Closed mr337 closed 9 years ago
I ended up merging https://github.com/HubSpot/BuckyServer/pull/15, as it maintains support for 0.8.0.
Gah, yeah, so I forgot to check the PRs and only checked issues and didn't see anything and starting coding. The only thing I can do here is reuse some of this code to dump the JSON format and move to the new protocol.
This is an update to the influxdb library to work with the latest v0.9+ of influx db. This PR simply changes the format the data is fed into the influxdb [1].
It does not support tags and I'm not for sure the best way to support tags in a general purpose fashion. I have some code to support tagging, but it is specific to our DNS and route structure. If anyone has any ideas I'd be happy to entertain them.
I left the JSON code since it is supported in v0.9 but already deprecated and to be removed with v1.0 [2].
[1] - https://influxdb.com/docs/v0.9/write_protocols/line.html [2] - https://influxdb.com/docs/v0.9/write_protocols/json.html