From fa0fb907ff588ad323bfa8a3142479b9b562ca37 Mon Sep 17 00:00:00 2001 From: andig Date: Sat, 21 Oct 2023 12:52:02 +0200 Subject: [PATCH] InfluxDB: skip strings --- server/influxdb.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/server/influxdb.go b/server/influxdb.go index a0ace1492..4ccb18c4e 100644 --- a/server/influxdb.go +++ b/server/influxdb.go @@ -77,6 +77,9 @@ func (m *Influx) writeComplexPoint(writer pointWriter, param util.Param, tags ma fields := make(map[string]any) switch val := param.Val.(type) { + case string: + return + case int, int64, float64: fields["value"] = param.Val