services.AddHealthChecks() .AddSqlServer(connectionString, tags: new[] { "storage" }) .AddRedis(redisString, tags: new[] { "storage" }) .AddUrlGroup(new Uri($"{weatherServiceUri}/weatherforecast"), "Weather API Health Check", HealthStatus.Degraded, timeout: new System.TimeSpan(0, 0, 3), tags: new[] { "service" });