Best way telegraf config file with several agents

Hello,

I have a same collect for several agents (same oid), what best way for a telegraf config file: one file every agent or one file with all agents?

My question is about performance…

Using a single file or multiple files with --config-directory shouldn’t really matter. If you are referring to single vs multiple plugins though then loading will be faster with a single plugin, but at runtime they will be more independent with multiple plugins. Independence here will mean one agent not responding won’t be able to interfere with the collection of others.

Tks Daniel again…