dotnet/aspnetcore
services.AddHealthChecks missing overload that takes delegate for configuring HealthChecksOptions
クローズ
#8,530 opened on 2019/03/14
affected-very-fewarea-healthchecksenhancementgood first issuehelp wantedseverity-minor
Repository metrics
- Stars
- (37,933 個のスター)
- PR merge metrics
- (平均マージ 16d 9h) (30d で 258 merged PRs)
説明
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