I started today testing telegraf. I understand the systemd service loads a default .conf file plus all .conf files present in /etc/telegraf/telegraf.d.
As far as I understand, telegraf treats each .conf as a separate set of instructions - saving measurements to each specified output, for example - if each .conf file defines its own output.
As an example, right now I have an untouched /etc/telegraf/telegraf.conf and a /etc/telegraf/telegraf.d/custom.conf with the correct parameters for connecting to InfluxDB and I’m seeing both the systemd service log with connection errors AND entries being added to InfluxDB.
I would like to ask if it would be possible to load the default .conf and then have other smaller files override just the settings they include. The default .conf is quite big and such an override behavior in my mind would facilitate editing and managing settings.