example.controllers.health¶
health.py
created 23-sep-2019 by richb@instantlinux.net
Classes
|
|
Healthcheck endpoint - return a standardized status check |
-
class
example.controllers.health.
HealthController
¶ Healthcheck endpoint - return a standardized status check
-
static
get
(tests=None)¶ Pass application-specific parameters to the healthcheck function
- Returns
first element is a dict containing health check report, with optional tests, in format recommended by Nadareishvili in RFC draft https://tools.ietf.org/id/draft-inadarei-api-health-check-04.html; second element is http response code
- Return type
tuple
-
static