From cd7f0447817eaf21898f172bdc2a4fc8bb721d1a Mon Sep 17 00:00:00 2001 From: HÃ¥kon Hallingstad Date: Fri, 25 Jan 2019 09:27:12 +0100 Subject: Metadata about /state/v1/health status The service monitor uses /state/v1/health to monitor config servers and the host admins (but not yet tenant host admins). This commit adds some metadata about the status of a service: - The time the status was last checked - The time the status changed to the current This can be used to e.g. make more intelligent decisions in the Orchestrator, e.g. only allowing a service to suspend if it has been DOWN longer than X seconds (to avoid spurious DOWN to break redundancy and uptime guarantees). --- configserver/src/main/resources/configserver-app/services.xml | 1 + 1 file changed, 1 insertion(+) (limited to 'configserver') diff --git a/configserver/src/main/resources/configserver-app/services.xml b/configserver/src/main/resources/configserver-app/services.xml index c3f3e7b6fff..f22d3fe213f 100644 --- a/configserver/src/main/resources/configserver-app/services.xml +++ b/configserver/src/main/resources/configserver-app/services.xml @@ -64,6 +64,7 @@ + -- cgit v1.2.3