Ejemplo n.º 1
0
 def check_endtoend(self):
     """
     Conducts a check on all services, returning a dict representing the HealthCheck output and a
     number indicating the health check response code.
     """
     service_statuses = check_all_services(self.app, [], for_instance=False)
     return self.calculate_overall_health(service_statuses)
Ejemplo n.º 2
0
 def check_instance(self):
     """
     Conducts a check on this specific instance, returning a dict representing the HealthCheck
     output and a number indicating the health check response code.
     """
     service_statuses = check_all_services(self.app, self.instance_skips, for_instance=True)
     return self.get_instance_health(service_statuses)