fangli / fluent-plugin-influxdb

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

Cast all integers to float #95

Closed Coac closed 5 years ago

Coac commented 5 years ago

Hello,

To avoid Error 'field type conflict' integer/float because of json parser, we can store all the numeric value as float by default.

repeatedly commented 5 years ago

Could you add option like cast_number_to_float? If someone stores integer value, this changes breaks existing environment.

Coac commented 5 years ago

Okay added cast_number_to_float param

repeatedly commented 5 years ago

Thanks!