Add support for dynamic reload on config change
I've needed support for multiple servers in DATA_SOURCE_URI_FILE and automatic reload on file change. In same time I've added support of reload on SIGHUP. All needed to have full automatic deployment that reacts on config changes. It works now on my infra. I can work on this a bit more to get it merged upstream, so I won't need to backport it when new version will be out. Just want to get some feedback before.
👍 this looks to be a good change
I think we're going to replace DATA_SOURCE_URI_FILE with https://github.com/prometheus-community/postgres_exporter/pull/468. This will support the multi-target exporter pattern.
Hi folks, Thanks for raising a PR to support this feature. Is there any update on when this will be reviewed and merged ?