When using only directory-based config, the exporter stops with an error:
$ ./exporter_exporter -log.level trace -config.dirs /etc/exporter_exporter/ --web.listen-address="0.0.0.0:8599"
ERRO[0000] open expexp.yaml: no such file or directory
If you provide an empty file or a file with an empty modules section, it crashes
When using only directory-based config, the exporter stops with an error:
If you provide an empty file or a file with an empty
modules
section, it crashesThe other option is to set the default value of the config file to an empty string instead of "expexp.yaml" but that will break default configuration https://github.com/QubitProducts/exporter_exporter/blob/master/main.go#L45