You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
builder.Services.AddHealthChecks()
.AddAzureAppConfiguration(
name: "AzureAppConfiguration",
failureStatus: HealthStatus.Degraded)
// and a few more health checks here...
What I want to achieve is that the overall status of my API is marked as Degraded when azure app config is not available since my app can function without it.
This failureStatus parameter is ignored by the AzureAppConfigurationHealthCheck implementation.
I think the solution is that instead of directly returning HealthStatus.Unhealthy, the checker should return whatever value it got from its HealthCheckContext