From 7649d6744ac5c4c8f1d5e0017bd4d5193b52cf28 Mon Sep 17 00:00:00 2001 From: andig Date: Thu, 10 Dec 2020 18:55:29 +0100 Subject: [PATCH] Store all types of numeric values in Influx --- server/influxdb.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/influxdb.go b/server/influxdb.go index eb683e2f8..0f441075b 100644 --- a/server/influxdb.go +++ b/server/influxdb.go @@ -61,6 +61,8 @@ func (m *Influx) supportedType(p util.Param) bool { } switch val := p.Val.(type) { + case int64, int: + return true case float64: return true case [3]float64: