Skip to content

Commit

Permalink
Initialize aggregation processors (influxdata#7853)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielnelson authored Jul 17, 2020
1 parent 3441fb1 commit 0bcc515
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions agent/agent.go
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,13 @@ func (a *Agent) initPlugins() error {
aggregator.Config.Name, err)
}
}
for _, processor := range a.Config.AggProcessors {
err := processor.Init()
if err != nil {
return fmt.Errorf("could not initialize processor %s: %v",
processor.Config.Name, err)
}
}
for _, output := range a.Config.Outputs {
err := output.Init()
if err != nil {
Expand Down

0 comments on commit 0bcc515

Please sign in to comment.