commit
24b7064140
1 changed files with 2 additions and 2 deletions
|
@ -20,7 +20,7 @@ class HealthCheck(object):
|
||||||
Conducts a check on this specific instance, returning a dict representing the HealthCheck
|
Conducts a check on this specific instance, returning a dict representing the HealthCheck
|
||||||
output and a number indicating the health check response code.
|
output and a number indicating the health check response code.
|
||||||
"""
|
"""
|
||||||
service_statuses = check_all_services(self.app, skip=self.instance_skips)
|
service_statuses = check_all_services(self.app, self.instance_skips)
|
||||||
return self.get_instance_health(service_statuses)
|
return self.get_instance_health(service_statuses)
|
||||||
|
|
||||||
def check_endtoend(self):
|
def check_endtoend(self):
|
||||||
|
@ -28,7 +28,7 @@ class HealthCheck(object):
|
||||||
Conducts a check on all services, returning a dict representing the HealthCheck
|
Conducts a check on all services, returning a dict representing the HealthCheck
|
||||||
output and a number indicating the health check response code.
|
output and a number indicating the health check response code.
|
||||||
"""
|
"""
|
||||||
service_statuses = check_all_services(self.app)
|
service_statuses = check_all_services(self.app, [])
|
||||||
return self.calculate_overall_health(service_statuses)
|
return self.calculate_overall_health(service_statuses)
|
||||||
|
|
||||||
def get_instance_health(self, service_statuses):
|
def get_instance_health(self, service_statuses):
|
||||||
|
|
Reference in a new issue