Class HealthCheckService

Assembly: redb.Tsak.Core.dll

Evaluates overall system health based on context state and pluggable checks.

public class HealthCheckService

Inheritance

Object→HealthCheckService

Methods

Evaluate()

Run all health checks and return aggregated result.

public HealthEvaluation Evaluate()

EvaluateAsync(CancellationToken)

Async variant of that additionally awaits all registered

public Task<HealthEvaluation> EvaluateAsync(CancellationToken ct = default)

Constructors

HealthCheckService(ITsakContextManager, MetricsService, IEnumerable<IHealthContributor>, RouteWatchdogService?)

Backward-compatible constructor without module contributors. New code should pass