extensions
extensions copied to clipboard
Question about the resilience libraries
Is there a good resource for a best practice on defining a health check that is aware of circuits being in an open state in Microsoft.Extensions.Resilience?
Hello @scoizzle, We have at least a couple of official docs that talk about how to use the resilience libraries and their best practices here:
- https://learn.microsoft.com/en-us/dotnet/core/resilience/?tabs=dotnet-cli
- https://learn.microsoft.com/en-us/dotnet/core/resilience/http-resilience?tabs=dotnet-cli
And we also have some docs around how to add health checks in general in aspnetcore:
- https://learn.microsoft.com/en-us/aspnet/core/host-and-deploy/health-checks?view=aspnetcore-8.0
However, I don't think we have one that specifically talks about integrating resilience policies with health checks. If you think this could be useful, it would be good to log an issue in the https://github.com/dotnet/docs repo or transfer this one there. cc: @IEvangelist