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

Daphne health-check #77

Closed
edevil opened this issue Jan 30, 2017 · 2 comments
Closed

Daphne health-check #77

edevil opened this issue Jan 30, 2017 · 2 comments

Comments

@edevil
Copy link

edevil commented Jan 30, 2017

It would be nice for Daphne to support an endpoint that would allow an health check on itself and the channel layer subsystem, with no need for active workers. Maybe send a message on a predefined channel and check if it receives it?

Right now, when we launch the Daphne component, there's no URL that I know of that we can query to check if just the Daphne component is healthy. We need active workers to respond to request, and so it's harder to diagnose a problem.

@robmoorman
Copy link

robmoorman commented Jan 25, 2018

The healthcheck would also be prefeffered in case you use Amazon ECS. A http health check is required to check whether daphne is healthy or not.

@andrewgodwin
Copy link
Member

As of Daphne 2.0 the application is in-process so you can get a health check with a simple Django view.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants