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

[FR] Timeout before die #17

Open
mattthhh opened this issue Feb 10, 2025 · 0 comments
Open

[FR] Timeout before die #17

mattthhh opened this issue Feb 10, 2025 · 0 comments

Comments

@mattthhh
Copy link

mattthhh commented Feb 10, 2025

As the exporter is started in the Rsyslog config, when Rsyslog die for a specified reason (oom, privileges changes on some files/dirs, systemd crash), the exporter also die with it. It could happen that the reason is not explained by the previous stats exported, because the crash happens really fast and prometheus did not scrape the interresting stats from the exporter before rsyslog died.

I was wondering, with the help of this option in omprog, if the binary could get an option to add a timeout before he terminates (as --timeout N) to keep the HTTP server running and exporting the latest stats before Rsyslog died ?

Let me know if you found a better option than that.

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

No branches or pull requests

1 participant