Interface IActiveHealthCheckMonitor
- Namespace
- Yarp.ReverseProxy.Health
- Assembly
- Yarp.ReverseProxy.dll
Actively monitors destinations health.
public interface IActiveHealthCheckMonitor
Properties
InitialProbeCompleted
Gets a value that determines whether the initial round of active health checks have run, regardless of the results.
bool InitialProbeCompleted { get; }
Property Value
- bool
falseuntil the initial round of health check requests has been processed.truewhen all the initially configured destinations have been queried, regardless their availability or returned status code. The property staystruefor the rest of the proxy process lifetime.
Methods
CheckHealthAsync(IEnumerable<ClusterState>)
Checks health of all clusters' destinations.
Task CheckHealthAsync(IEnumerable<ClusterState> clusters)
Parameters
clustersIEnumerable<ClusterState>Clusters to check the health of their destinations.