Show / Hide Table of Contents

Class ConsecutiveFailuresHealthPolicyOptions

Defines options for the consecutive failures active health check policy.

Inheritance
Object
ConsecutiveFailuresHealthPolicyOptions
Namespace: Yarp.ReverseProxy.Health
Assembly: Yarp.ReverseProxy.dll
Syntax
public class ConsecutiveFailuresHealthPolicyOptions : object

Fields

| Improve this Doc View Source

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.

Declaration
public static readonly string ThresholdMetadataName
Field Value
Type Description
String

Properties

| Improve this Doc View Source

DefaultThreshold

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
Int64
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX