Add support for once mode; run processors and aggregators during test (#7474)

This commit is contained in:
Daniel Nelson
2020-06-01 15:26:20 -07:00
committed by GitHub
parent 573f144607
commit 4e93b87085
5 changed files with 235 additions and 85 deletions

View File

@@ -261,3 +261,7 @@ func (r *RunningOutput) LogBufferStatus() {
func (r *RunningOutput) Log() telegraf.Logger {
return r.log
}
func (r *RunningOutput) BufferLength() int {
return r.buffer.Len()
}