public Map<ServiceId, ServiceStatusInfo> getAllServiceStatuses() {
        synchronized (guard) {
            return monitors.entrySet().stream().collect(Collectors.toMap(
                    entry -> entry.getKey(),
                    entry -> entry.getValue().getStatus()));
        }
    }
Responsible for monitoring a whole application using /state/v1/health.

@author hakon
service-monitor/src/main/java/com/yahoo/vespa/service/health/ApplicationHealthMonitor.java