Skip to content

services.AddHealthChecks missing overload that takes delegate for configuring HealthChecksOptions #8530

@DamianEdwards

Description

@DamianEdwards

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    affected-very-fewThis issue impacts very few customersarea-healthchecksIncludes: Healthchecks (some bugs also in Extensions repo)enhancementThis issue represents an ask for new feature or an enhancement to an existing onegood first issueGood for newcomers.help candidateIndicates that the issues may be a good fit for community to help with. Requires work from eng. teamseverity-minorThis label is used by an internal tool

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions