This is useful for load balancers to determine if a service is up (and add or remove it from rotation), or for monitoring tools to see the health of the server.
Adding this will involve adding the middleware to the wsgi application, and creating config options to enable and configure the middleware. All of the healthcheck options are shown here: https://github.com/openstack/oslo.middleware/blob/master/oslo_middleware/healthcheck/opts.py . For now, we will only add options to enable the middleware and turn on detailed mode. They will both be BoolOpt options, in a [healthcheck] group, and named "enabled" and "detailed". Both will default to False.
The healthcheck will be unauthenticated, as authenticated healthchecks aren't terribly useful.
Oslo provides a health check middleware that can give details about the server's status: https:/ /docs.openstack .org/oslo. middleware/ latest/ reference/ healthcheck_ plugins. html
This is useful for load balancers to determine if a service is up (and add or remove it from rotation), or for monitoring tools to see the health of the server.
Adding this will involve adding the middleware to the wsgi application, and creating config options to enable and configure the middleware. All of the healthcheck options are shown here: https:/ /github. com/openstack/ oslo.middleware /blob/master/ oslo_middleware /healthcheck/ opts.py . For now, we will only add options to enable the middleware and turn on detailed mode. They will both be BoolOpt options, in a [healthcheck] group, and named "enabled" and "detailed". Both will default to False.
The healthcheck will be unauthenticated, as authenticated healthchecks aren't terribly useful.