InfluxDB: skip strings

This commit is contained in:
andig 2023-10-21 12:52:02 +02:00
parent f6ae81153f
commit fa0fb907ff

View file

@ -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