dotnet/aspnetcore

services.AddHealthChecks missing overload that takes delegate for configuring HealthChecksOptions

Fechada

#8.530 aberto em 14 de mar. de 2019

 (7 comentários) (4 reações) (0 responsável)C# (10.653 forks)batch import
affected-very-fewarea-healthchecksenhancementgood first issuehelp wantedseverity-minor

Métricas do repositório

Stars
 (37.933 estrelas)
Métricas de merge de PR
 (Mesclagem média 16d 9h) (258 fundiu PRs em 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

Guia do colaborador