Skip to content

"healthcheck --collect" command discovers healthchecks #14

Description

@benoitbryon

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions