dotnet/aspnetcore

services.AddHealthChecks missing overload that takes delegate for configuring HealthChecksOptions

Fermée

#8 530 ouverte le 14 mars 2019

 (7 commentaires) (4 réactions) (0 personne assignée)C# (10 653 forks)batch import
affected-very-fewarea-healthchecksenhancementgood first issuehelp wantedseverity-minor

Métriques du dépôt

Stars
 (37 933 étoiles)
Métriques de merge PR
 (Merge moyen 16j 9h) (258 PRs mergées en 30 j)

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

Guide contributeur