summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Fischer <matt@mattfischer.com>2016-11-28 10:53:16 -0700
committerMatt Fischer <matt@mattfischer.com>2016-11-28 17:54:41 +0000
commit5f1941df4a521642c6cc2afeb9f1a5ad7c4187d8 (patch)
treedbb8e7f4d2b6777715c57a9ec989ce8bf4c8a9ae
parentedbb4ba4651edcfc1c7f332caedc78281f315fed (diff)
downloadoslo-middleware-5f1941df4a521642c6cc2afeb9f1a5ad7c4187d8.tar.gz
Document how to use detailed mode in healthcheck
The detailed mode is referenced in the documenation but it is never explained how to enable it. This exposes it in the docs. Change-Id: I136669a7dd0e6e0d293a9b9ea1b685de82404e2b
-rw-r--r--oslo_middleware/healthcheck/disable_by_file.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/oslo_middleware/healthcheck/disable_by_file.py b/oslo_middleware/healthcheck/disable_by_file.py
index 1b3ffa3..c1eafa8 100644
--- a/oslo_middleware/healthcheck/disable_by_file.py
+++ b/oslo_middleware/healthcheck/disable_by_file.py
@@ -40,6 +40,8 @@ class DisableByFilesPortsHealthcheck(pluginbase.HealthcheckBaseExtension):
backends = disable_by_files_ports
disable_by_file_paths = 5000:/var/run/keystone/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):
@@ -93,6 +95,8 @@ class DisableByFileHealthcheck(pluginbase.HealthcheckBaseExtension):
path = /healthcheck
backends = disable_by_file
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):