Table of Contents

Interface IHealthContributor

Namespace
Steeltoe.Common.HealthChecks
Assembly
Steeltoe.Common.dll

Implement this interface and add to DI to be included in health checks

public interface IHealthContributor

Properties

Id

Gets an identifier for the type of check being performed

string Id { get; }

Property Value

string

Methods

Health()

Check the health of a resource

HealthCheckResult Health()

Returns

HealthCheckResult

The result of checking the health of a resource