Fix metric buffer limit in internal plugin after reload
This commit is contained in:
parent
df80fa6099
commit
8147d60973
|
@ -72,6 +72,7 @@
|
||||||
### Bugfixes
|
### Bugfixes
|
||||||
|
|
||||||
- [#1896](https://github.com/influxdata/telegraf/issues/1896): Fix various mysql data type conversions.
|
- [#1896](https://github.com/influxdata/telegraf/issues/1896): Fix various mysql data type conversions.
|
||||||
|
- [#3810](https://github.com/influxdata/telegraf/issues/3810): Fix metric buffer limit in internal plugin after reload.
|
||||||
|
|
||||||
## v1.5.3 [unreleased]
|
## v1.5.3 [unreleased]
|
||||||
|
|
||||||
|
|
|
@ -87,7 +87,7 @@ func NewRunningOutput(
|
||||||
map[string]string{"output": name},
|
map[string]string{"output": name},
|
||||||
),
|
),
|
||||||
}
|
}
|
||||||
ro.BufferLimit.Incr(int64(ro.MetricBufferLimit))
|
ro.BufferLimit.Set(int64(ro.MetricBufferLimit))
|
||||||
return ro
|
return ro
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue