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 healthyWARNING
service has some problemsCRITICAL
service is unhealthy
health_check(name='', cache=0, fail_if_slower_than=0)
¶
Methods annotated with @on_init
will be called when the instance is created.
health_checks()
¶
Instances of classes that are annotated with @injectable can be created by an Environment.