influxdb-collectd-proxy
influxdb-collectd-proxy copied to clipboard
annoying messages of json: unsupported value: NaN
After proxy started and data transfered from collected to influxdb through proxy, but it keeps to show up folloiwng annoying messages. 2014/10/21 17:56:21 failed to write series group to influxdb: json: unsupported value: NaN 2014/10/21 17:56:22 failed to write series group to influxdb: json: unsupported value: NaN 2014/10/21 17:56:23 failed to write series group to influxdb: json: unsupported value: NaN ... Any solutions to stop these messages?
Hi, @sihara ! I think I can working on it this weekend because I'm a little busy this week :-( Could you give me some informations on your environment? (like collectd config and types.db, ...)
Thank you!
Hi @hoonmin I'm seeing these too. It would be great if the log would print out the actual value. I will take a look and see if I can figure out what the value actually is.
Looking around, it seems this comes from the json/encoder:
https://github.com/golang/go/issues/3480
It is unable to handle null and so displays this message. At this time there isn't a resolution to this issue.
@yanfali Thank for your time inspect the issue. So we should find some workarounds for this...