InfluxDB: skip strings
This commit is contained in:
parent
f6ae81153f
commit
fa0fb907ff
1 changed files with 3 additions and 0 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue