I am using below command /app/telegraf --config /app/telegraf.conf --watch-config notify
telegraf is able to restart but getting below error, even when config file has outputs
Config watcher started
Config file modified
Reloading Telegraf config
[inputs.statsd] Stopping the statsd service
[inputs.statsd] Stopped listener service on ":8125"
[agent] Hang on, flushing any cached metrics before shutdown
[agent] Stopping running outputs
Loading config: /app/telegraf.conf
Config watcher started
Config file modified
Reloading Telegraf config
[telegraf] Error running agent: no outputs found, did you provide a valid config file?