-
-
Notifications
You must be signed in to change notification settings - Fork 118
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
Add health check endpoint #145
Comments
@dlackty https://github.com/imajes/rack-heartbeat is an OK But, it seems you won't be able to inject more middleware on a stock Gemstash |
I see. However, I would prefer https://github.com/mirakui/rack-health because its simplicity. |
@smellsblue Has there been discussion on "how do I extend my Gemstash server with extra middleware"? |
I've been a bit out of the loop lately due to work, vacation and now railsconf, but I'm definitely interested in both a health check and middleware (which I've played with a bit but don't have anything complete yet). I think health check is important enough to be part of Gemstash directly. I'd be happy to help with a change or help get a PR merged! |
By the way, my colleagues and I have made a health check set of gems that works with just rack (or rails for a separate gem). Maybe we can utilize it here? |
Although opinionated, I think |
I still need to add documentation, but would #146 work? It checks that read and write works, but also has a heartbeat endpoint if you just want to ping the server. |
When our team trying to deploy gemstash to our servers, we immediately found that there's no health check endpoint for load balancer to check.
Is there any existing endpoint for that purpose? Otherwise, is there any way to manually insert rack middleware?
I would like to help but I need your inputs. Thanks!
The text was updated successfully, but these errors were encountered: