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

"healthcheck --collect" command discovers healthchecks #14

Open
benoitbryon opened this issue Aug 13, 2015 · 0 comments
Open

"healthcheck --collect" command discovers healthchecks #14

benoitbryon opened this issue Aug 13, 2015 · 0 comments
Labels

Comments

@benoitbryon
Copy link
Member

As platform maintainer, when I run Django project's healthcheck --collect command, I get a list of project's healthchecks, i.e. those to be executed via healthcheck command.

Here is a proposal:

  • iterate over installed apps. Use registry of applications: https://docs.djangoproject.com/en/1.8/ref/applications/
  • for each application, following hospital's convention, look for "healthchecks" modules or packages
  • by default, ignore "tests" modules and packages
  • the output can be parsed, i.e. list of healthchecks can be extracted from healthcheck --collect output
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant