var weatherServiceUri = "https://localhost:44385"; services.AddHealthChecks() .AddSqlServer(connectionString) .AddRedis(redisString) .AddUrlGroup(new System.Uri($"{weatherServiceUri}/weatherforecast"), "Weather API Health Check", HealthStatus.Degraded, timeout: new System.TimeSpan(0,0,3));