unbit / uwsgi-influxdb

uWSGI plugin for influxdb integration
MIT License
7 stars 8 forks source link

Broken with influx 0.10 #2

Closed Bolik closed 8 years ago

Bolik commented 8 years ago

After starting there are tons of messages like this:

Mon Feb 15 17:05:42 2016 - [influxdb] HTTP api returned non-200 response code for rss_size: 400 {"error":"json: cannot unmarshal array into Go value of type struct { Points []client.Point \"json:\"points\"\"; Database string \"json:\"database\"\"; RetentionPolicy string \"json:\"retentionPolicy\"\"; Tags map[string]string \"json:\"tags\"\"; Time time.Time \"json:\"time\"\"; Precision string \"json:\"precision\"\" }"}

blaggacao commented 8 years ago

Influx deprecated json format. It was replaced by the line format

This plugin uses json: https://github.com/unbit/uwsgi-influxdb/blob/master/plugin.c#L19

Useless :cry:

Options that come to my mind would be:

It's pest or cholera.