New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
workaround 'parse_value: Ignoring trailing garbage ".0"' #916
Comments
This issue was also reported to the mailing-list: http://mailman.verplant.org/pipermail/collectd/2014-August/006296.html and somebody complained about it on IRC just now. |
Indeed I'm experiencing the same problem, with the same component mentioned on the mailing-list |
experiencing same problem |
The same problem here. This message is emitted with INFO severity, so setting log level to |
The same with postgresql monitroing |
IIuc, JSON only supports floating point values (and those poorly). When parsing JSON, we should probably either assume |
When using curl_json to monitor couchdb _stats values I get a lot of 'parse_value: Ignoring trailing garbage ".0" after derive value. Input string was "4392.0".' type errors. The problem is that reported values in json have a trailing ".0" even if those are integers (e.g. couchdb/auth_cache_hits/current).
What do you think about making couchdb ignore the trailing ".0" if the expected type is integer? I can probably do it in
parse_value
function insrc/daemon/common.c
.The text was updated successfully, but these errors were encountered: