Class ConsecutiveFailuresHealthPolicyOptions
- Namespace
- Yarp.ReverseProxy.Health
- Assembly
- Yarp.ReverseProxy.dll
Defines options for the consecutive failures active health check policy.
public class ConsecutiveFailuresHealthPolicyOptions
- Inheritance
-
ConsecutiveFailuresHealthPolicyOptions
- Inherited Members
Constructors
ConsecutiveFailuresHealthPolicyOptions()
public ConsecutiveFailuresHealthPolicyOptions()
Fields
ThresholdMetadataName
Name of the consecutive failure threshold metadata parameter. It's the number of consecutive failure that needs to happen in order to mark a destination as unhealthy.
public static readonly string ThresholdMetadataName
Field Value
Properties
DefaultThreshold
Default consecutive failures threshold that is applied if it's not set on a cluster's metadata.
public long DefaultThreshold { get; set; }