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

feat(prometheus): Add shutdown timeout variable #220

Merged
merged 1 commit into from
Sep 27, 2023
Merged

Conversation

SuperQ
Copy link
Contributor

@SuperQ SuperQ commented Sep 27, 2023

In order to allow Prometheus more time to shutdown, especially if memory-snapshot-on-shutdown is used, override the default 90s systemd shutdown timeout. Otherwise systemd will SIGKILL Prometheus.

  • Use 10min shutdown timeout by default.

@github-actions github-actions bot added enhancement New feature or request roles/prometheus labels Sep 27, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Sep 27, 2023

Docs Build 📝

Thank you for contribution!✨

This PR has been merged and the docs are now incorporated into main:
https://prometheus-community.github.io/ansible/branch/main

In order to allow Prometheus more time to shutdown, especially if
`memory-snapshot-on-shutdown` is used, override the default 90s systemd
shutdown timeout. Otherwise systemd will SIGKILL Prometheus.
* Use 10min shutdown timeout by default.

Signed-off-by: SuperQ <[email protected]>
@github-actions github-actions bot added enhancement New feature or request and removed enhancement New feature or request labels Sep 27, 2023
@SuperQ SuperQ merged commit 37d7956 into main Sep 27, 2023
@SuperQ SuperQ deleted the superq/timeout branch September 27, 2023 14:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request roles/prometheus
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants