Merge "Document how to use detailed mode in healthcheck"
This commit is contained in:
@@ -40,6 +40,8 @@ class DisableByFilesPortsHealthcheck(pluginbase.HealthcheckBaseExtension):
|
|||||||
backends = disable_by_files_ports
|
backends = disable_by_files_ports
|
||||||
disable_by_file_paths = 5000:/var/run/keystone/healthcheck_disable, \
|
disable_by_file_paths = 5000:/var/run/keystone/healthcheck_disable, \
|
||||||
35357:/var/run/keystone/admin_healthcheck_disable
|
35357:/var/run/keystone/admin_healthcheck_disable
|
||||||
|
# set to True to enable detailed output, False is the default
|
||||||
|
detailed = False
|
||||||
"""
|
"""
|
||||||
|
|
||||||
def __init__(self, *args, **kwargs):
|
def __init__(self, *args, **kwargs):
|
||||||
@@ -93,6 +95,8 @@ class DisableByFileHealthcheck(pluginbase.HealthcheckBaseExtension):
|
|||||||
path = /healthcheck
|
path = /healthcheck
|
||||||
backends = disable_by_file
|
backends = disable_by_file
|
||||||
disable_by_file_path = /var/run/nova/healthcheck_disable
|
disable_by_file_path = /var/run/nova/healthcheck_disable
|
||||||
|
# set to True to enable detailed output, False is the default
|
||||||
|
detailed = False
|
||||||
"""
|
"""
|
||||||
|
|
||||||
def __init__(self, *args, **kwargs):
|
def __init__(self, *args, **kwargs):
|
||||||
|
|||||||
Reference in New Issue
Block a user