dotnet/aspnetcore
services.AddHealthChecks missing overload that takes delegate for configuring HealthChecksOptions
Closed
#8,530 opened on Mar 14, 2019
affected-very-fewarea-healthchecksenhancementgood first issuehelp wantedseverity-minor
Repository metrics
- Stars
- (37,933 stars)
- PR merge metrics
- (Avg merge 16d 9h) (258 merged PRs in 30d)
Description
We need to add the overload to Health Checks to enable passing an options configuration delegate when adding Health Checks to services, e.g.:
services.AddHealthChecks(options =>
{
options.AllowCachingResponses = true;
}).AddCheck<MyHealthCheck>()
@rynowak @glennc