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

Add healthcheck endpoint at /health #121

Open
Cellivar opened this issue Apr 19, 2024 · 0 comments
Open

Add healthcheck endpoint at /health #121

Cellivar opened this issue Apr 19, 2024 · 0 comments

Comments

@Cellivar
Copy link

Thank you for building this app! I run it in a cluster environment which needs to be able to determine if it's up and running, and the usual pattern for this is to have a http://HOSTNAME/health endpoint that returns a 200 OK. Optionally it can contain some more information, though for this particular app just being online and serving requests is probably sufficient.

If you'd like I can whip up a basic PR to handle this case, basically a special case handling of the path that hardcodes /health to always short-circuit the request handler to return a 204 no content or something like 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