I use NixOS and it has netdata and the go plugin, with the plugin a dependency of netdata.
In NixOS you avoid global state, and 99% of config files is generated at system build time and stored immutably in a hashed path. This allows seamless updates and having multiple versions of the same package installed simultaneously. So /etc/netdata is empty.
Now I’d like to change the go.d plugin configuration, but since the package is a dependency it’s harder to inject configuration. It is possible to do, but it’s a bit of work to create a wrapper package.
Would it instead be possible to allow configure the go.d plugin via the netdata configuration? So that there’s a single source of truth. I am thinking along the lines of passing the plugin the path to the netdata configuration and it reads that.