Table of Contents

Interface IHealthService

Namespace
Quilt4Net.Toolkit.Features.Health
Assembly
Quilt4Net.Toolkit.dll

Service for Health.

public interface IHealthService

Methods

GetStatusAsync(Func<Component, bool>, bool, CancellationToken)

Performs Health checks.

IAsyncEnumerable<KeyValuePair<string, HealthComponent>> GetStatusAsync(Func<Component, bool> filter = null, bool includeProbes = true, CancellationToken cancellationToken = default)

Parameters

filter Func<Component, bool>
includeProbes bool
cancellationToken CancellationToken

Returns

IAsyncEnumerable<KeyValuePair<string, HealthComponent>>