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
{{ message }}
Repository navigation
Support safe config reload via SIGHUP and /-/reload #1390
Support reloading the postgres_exporter configuration without restarting the process, following Prometheus' lifecycle behavior:
SIGHUP triggers a configuration reload.
POST /-/reload triggers the same reload path.
Use case
Operators need to rotate auth_modules and other reloadable file-backed configuration without restarting the exporter. This is particularly useful with Kubernetes Secrets, external secret managers, and multi-target /probe deployments.
Several old pull requests attempted parts of this:
Hi @ArthurSens , I had a look through the current config handling and I’d like to work on this. ReloadAuthConfig already provides a good base for keeping the existing config when a reload fails, so I’ll build the 'SIGHUP' and 'POST /-/reload' paths around that. I’ll also cover the concurrent reload and failure cases in tests and update the docs.
Activity
Chaithanyanallamothu commentedon Oct 7, 2026
Hi @ArthurSens , I had a look through the current config handling and I’d like to work on this. ReloadAuthConfig already provides a good base for keeping the existing config when a reload fails, so I’ll build the 'SIGHUP' and 'POST /-/reload' paths around that. I’ll also cover the concurrent reload and failure cases in tests and update the docs.