Interface IHealthContributor
Implement this interface and add to DI to be included in health checks
Namespace: Steeltoe.Common.HealthChecks
Assembly: Steeltoe.Common.Abstractions.dll
Syntax
public interface IHealthContributor
Properties
| Edit this page View SourceId
Gets an identifier for the type of check being performed
Declaration
string Id { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
| Edit this page View SourceHealth()
Check the health of a resource
Declaration
HealthCheckResult Health()
Returns
Type | Description |
---|---|
HealthCheckResult | The result of checking the health of a resource |