You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Viper, the library used to load configuration in the Collector, supports loading from and merging multiple config files. Note the following caveats:
Arrays are overwritten instead of being merged
There is no mechanism to "include" config files from within another config file
We could change the startup code to load all *.yaml files in the same directory as the executable (or based on some provided regex flag) and change the configuration to be logically separated, e.g.:
In addition, it would be useful to support a way of loading constants into environment variables so that values don't need to be repeated across config files, e.g.:
Viper, the library used to load configuration in the Collector, supports loading from and merging multiple config files. Note the following caveats:
We could change the startup code to load all
*.yaml
files in the same directory as the executable (or based on some provided regex flag) and change the configuration to be logically separated, e.g.:In addition, it would be useful to support a way of loading constants into environment variables so that values don't need to be repeated across config files, e.g.:
The text was updated successfully, but these errors were encountered: