次の方法で共有


CoreHealthChecksExtensions Class

Definition

Controls various health check features.

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

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.

AddApplicationLifecycleHealthCheck(IHealthChecksBuilder)

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

AddKubernetesHealthCheckPublisher(IServiceCollection, Action<KubernetesHealthCheckPublisherOptions>)

Registers a health status publisher which opens a TCP port if the application is considered healthy.

AddKubernetesHealthCheckPublisher(IServiceCollection, IConfigurationSection)

Registers a health status publisher which opens a TCP port if the application is considered healthy.

AddKubernetesHealthCheckPublisher(IServiceCollection)

Registers a health status publisher which opens a TCP port if the application is considered healthy.

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.

AddManualHealthCheck(IHealthChecksBuilder)

Registers a health check provider that enables manual control of 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.

AddTelemetryHealthCheckPublisher(IServiceCollection)

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