CommonHealthChecksExtensions Class

Definition

Controls various health check features.

public ref class CommonHealthChecksExtensions abstract sealed
public static class CommonHealthChecksExtensions
type CommonHealthChecksExtensions = class
Public Module CommonHealthChecksExtensions
Inheritance
CommonHealthChecksExtensions

Methods

AddApplicationLifecycleHealthCheck(IHealthChecksBuilder, IEnumerable<String>)

Registers a health check provider that's tied to the application's lifecycle.

AddApplicationLifecycleHealthCheck(IHealthChecksBuilder, String[])

Registers a health check provider that's tied to the application's lifecycle.

AddManualHealthCheck(IHealthChecksBuilder, IEnumerable<String>)

Registers a health check provider that enables manual control of the application's health.

AddManualHealthCheck(IHealthChecksBuilder, String[])

Registers a health check provider that enables manual control of the application's health.

AddTelemetryHealthCheckPublisher(IServiceCollection)

Registers a health check publisher which emits telemetry representing the application's health.

AddTelemetryHealthCheckPublisher(IServiceCollection, Action<TelemetryHealthCheckPublisherOptions>)

Registers a health check publisher which emits telemetry representing the application's health.

AddTelemetryHealthCheckPublisher(IServiceCollection, IConfigurationSection)

Registers a health check publisher which emits telemetry representing the application's health.

ReportHealthy(IManualHealthCheck)

Sets the manual health check to the healthy state.

ReportUnhealthy(IManualHealthCheck, String)

Sets the manual health check to return an unhealthy states and an associated reason.

Applies to