fangli / fluent-plugin-influxdb

A buffered output plugin for fluentd and InfluxDB
MIT License
111 stars 65 forks source link

make nstime support float eg. nstime=1488361308.424999936 #72

Closed linxuanwei closed 7 years ago

linxuanwei commented 7 years ago

support "nstime" Float Type

e.g. nstime=1488361308.424999936

repeatedly commented 7 years ago

I think this patch is not needed because fluentd's event time must be Integer(v0.12 compat) or EventTime(v0.14 or later for nanosecond).

https://github.com/fluent/fluentd/wiki/Forward-Protocol-Specification-v1#entry

Client should not send Float type. If fluent-logger-node sends Float type unexpectedly, fluent-logger-node should be fixed.