Print the enabled aggregator and processor plugins on startup (#4212)

This commit is contained in:
Piotr Popieluch
2018-05-31 20:56:49 +02:00
committed by Daniel Nelson
parent 5ae2b02f5d
commit e0071f365a
2 changed files with 21 additions and 1 deletions

View File

@@ -166,8 +166,10 @@ func reloadLoop(
}()
log.Printf("I! Starting Telegraf %s\n", displayVersion())
log.Printf("I! Loaded outputs: %s", strings.Join(c.OutputNames(), " "))
log.Printf("I! Loaded inputs: %s", strings.Join(c.InputNames(), " "))
log.Printf("I! Loaded aggregators: %s", strings.Join(c.AggregatorNames(), " "))
log.Printf("I! Loaded processors: %s", strings.Join(c.ProcessorNames(), " "))
log.Printf("I! Loaded outputs: %s", strings.Join(c.OutputNames(), " "))
log.Printf("I! Tags enabled: %s", c.ListTags())
if *fPidfile != "" {