Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Seamless configuration reload like Prometheus #26

Open
FruhGab opened this issue Jan 9, 2019 · 1 comment
Open

Seamless configuration reload like Prometheus #26

FruhGab opened this issue Jan 9, 2019 · 1 comment

Comments

@FruhGab
Copy link

FruhGab commented Jan 9, 2019

Hello,
I have one issue with this exporter, which we are using in production for several months.
It seems we can't reload configuration on the fly, like we can with Prometheus or Alertmanager for instance.
This is actually a problem, because we must restart the container everytime we change the configuration (we're using Docker) but it also executes all SQL requests again and new alerts are fired for every request even if there is no error.
I searched into the documentation and did not find anything.

If such a mechanism do not exists yet, will it be hard for you to implement something like with Prometheus where we only send a HUP kill signal to the main processus thus reloading the configuration ?

Thanks in advance !

@dewey
Copy link
Member

dewey commented Jan 27, 2022

Willing to accept a PR that reloads the config without a restart. It could also be done through a HTTP POST request to the /-/reload like Prometheus itself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants