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

Allow prometheus binding to fail with a warning rather than a crash #294

Merged
merged 1 commit into from
May 11, 2023

Conversation

KludgeKML
Copy link
Contributor

  • This allows us to (eg) run rake tasks or db migrations in situations where the port is already bound (for instance in a pod shell)

@KludgeKML KludgeKML requested a review from sengi May 10, 2023 13:31
Copy link
Contributor

@sengi sengi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yay thanks for fixing this! ❤️

Just one minor comment but have a preemptive approval cos I don't wanna slow you down, especially as you've kindly gone out of your way to fix this for us! 🙇

lib/govuk_app_config/govuk_prometheus_exporter.rb Outdated Show resolved Hide resolved
- This allows us to (eg) run rake tasks or db migrations
  in situations where the port is already bound (for instance
  in a pod shell)
@KludgeKML KludgeKML force-pushed the allow-prometheus-fail branch 2 times, most recently from cb06674 to 879d6be Compare May 11, 2023 08:54
@KludgeKML KludgeKML merged commit ca865bb into main May 11, 2023
@KludgeKML KludgeKML deleted the allow-prometheus-fail branch May 11, 2023 09:09
@KludgeKML KludgeKML mentioned this pull request May 11, 2023
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

Successfully merging this pull request may close these issues.

2 participants