Allow writing nil values as series gaps
This commit is contained in:
parent
5a69cf7fd0
commit
42859c7da8
1 changed files with 2 additions and 1 deletions
|
|
@ -137,7 +137,8 @@ func (m *Influx) Run(in <-chan core.Param) {
|
|||
|
||||
// add points to batch for async writing
|
||||
for param := range in {
|
||||
if _, ok := param.Val.(float64); !ok {
|
||||
// allow nil value to be written as series gaps
|
||||
if _, ok := param.Val.(float64); param.Val != nil && !ok {
|
||||
continue
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue