HealthBlock GetDatabaseHealth() { HealthBlock block = new HealthBlock() { Name = "Database" }; var isHealthy = _stateManager.IsHealthy(); block.AddMatrix("IsHealthy", isHealthy); return(block); }
HealthBlock GetCacheHealth() { var isHealthy = _cacheStorage.IsHealthy(); HealthBlock block = new HealthBlock() { Name = "Cache" }; block.AddMatrix("IsHealthy", isHealthy); return(block); }