Store all types of numeric values in Influx
This commit is contained in:
parent
c6439b4cdc
commit
7649d6744a
1 changed files with 2 additions and 0 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue