Class ConsecutiveFailuresHealthPolicyOptions
Defines options for the consecutive failures active health check policy.
Inheritance
System.Object
ConsecutiveFailuresHealthPolicyOptions
Namespace: Yarp.ReverseProxy.Health
Assembly: Yarp.ReverseProxy.dll
Syntax
public class ConsecutiveFailuresHealthPolicyOptions : object
Fields
| Improve this Doc View SourceThresholdMetadataName
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.
Declaration
public static readonly string ThresholdMetadataName
Field Value
Type | Description |
---|---|
System.String |
Properties
| Improve this Doc View SourceDefaultThreshold
Default consecutive failures threshold that is applied if it's not set on a cluster's metadata.
Declaration
public long DefaultThreshold { get; set; }
Property Value
Type | Description |
---|---|
System.Int64 |