Skip to content

Health Check

health checks

HealthCheckManager()

The health manager is able to run all registered health checks and is able to return an overall status.

check() async

run all registered health checks and return an overall result. Returns: the overall result.

HealthStatus

Bases: Enum

A enum specifying the health status of a service. The values are:

  • OK service is healthy
  • WARNING service has some problems
  • CRITICAL service is unhealthy

health_check(name='', cache=0, fail_if_slower_than=0)

Methods annotated with @health_check specify health checks that will be executed.

health_checks()

Instances of classes that are annotated with @health_checks contain healt mehtods.