Enum HealthStatus
- Namespace
- Acuit.Pinpoint.HealthChecks
- Assembly
- Acuit.Pinpoint.HealthChecks.dll
Represents the reported status of a health check result.
public enum HealthStatus
Fields
Degraded = 1
Indicates that the health check determined that the component was in a degraded state.
Healthy = 2
Indicates that the health check determined that the component was healthy.
Unhealthy = 0
Indicates that the health check determined that the component was unhealthy, or an unhandled exception was thrown while executing the health check.
Remarks
A status of Unhealthy should be considered the default value for a failing health check. Application developers may configure a health check to report a different status as desired.
The values of this enum or ordered from least healthy to most healthy. So Degraded is greater than Unhealthy but less than Healthy.