Open ArthurJiang opened 6 years ago
Same issue, Is this project still maintained?
plugin will auto convert js "new Date().getTime()" integer value to a float, I guess it's an issue for ruby integer scope, I convert "new Date().getTime()" to a string as a work around.
Ruby's integer range is unlimited because Ruby's integer uses BigInteger for big number. What does 'js' mean? Do you use fluentd javascript client for sending logs to fluentd?
For me, I am using fluent-logger-node now
config: <match .influxdb.test.health> @type influxdb measurement: health host 127.0.0.1 port 40002 dbname test auto_tags true tag_keys: ["key1", "key2"] time_key time time_precision ms
plugin will auto convert js "new Date().getTime()" integer value to a float, I guess it's an issue for ruby integer scope, I convert "new Date().getTime()" to a string as a work around.
comments1: I think all timestamp must be an integer, so could you add an auto integer convert for timestamp.