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

HTTP Health Check Endpoint for Events API #19

Closed
jonwinton opened this issue Aug 26, 2020 · 2 comments
Closed

HTTP Health Check Endpoint for Events API #19

jonwinton opened this issue Aug 26, 2020 · 2 comments

Comments

@jonwinton
Copy link

Hi! I'm just getting started with this library and have a demo app using the events API. I need to deploy the app to AWS ECS, and for that I'll need to set up a health check on the load balancer that exposes the endpoint. I know the http-server module exists, but the load balancer health check needs to be pointed at the same port that is receiving traffic.

What's the best way to go about this? I considered adding a /ping endpoint to the sever spun up in this module, but I hope someone else has solved this already.

Thanks!

@fgrosse
Copy link
Contributor

fgrosse commented Jan 30, 2022

Sorry for never answering here. Looks like this fell between the cracks and then I completely forgot about this request.
Implementing a custom health check endpoint which would run on the same port as the event API server is now supported via #21 🎉 (see unit tests in the PR)

@fgrosse fgrosse closed this as completed Jan 30, 2022
@jonwinton
Copy link
Author

No worries, thanks!

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

2 participants