diff --git a/plugins/serializers/influx/influx.go b/plugins/serializers/influx/influx.go index 51aed0d09..59d7662aa 100644 --- a/plugins/serializers/influx/influx.go +++ b/plugins/serializers/influx/influx.go @@ -262,7 +262,7 @@ func appendIntField(buf []byte, value int64) []byte { } func appendFloatField(buf []byte, value float64) []byte { - return strconv.AppendFloat(buf, value, 'g', -1, 64) + return strconv.AppendFloat(buf, value, 'f', -1, 64) } func appendBoolField(buf []byte, value bool) []byte {