telenornms / skogul

Generic go-based data/metric-collector-framework for Gondul and more
GNU Lesser General Public License v2.1
28 stars 14 forks source link

Config: unused items are not revealed to the user #23

Open KristianLyng opened 5 years ago

KristianLyng commented 5 years ago

If three senders are specified, but only one is used, the user will never know. This could lead to situations where a user wants to direct data to two different locations, but accidentally directs it to the same place.

I'm thinking warning is the suitable response, possibly with an option to make it critical.

KristianLyng commented 4 years ago

This should be fairly straight forward by counting refs, only nitpick is what to do with implicitly instanceiated[sic] modules.