Table of Contents

Class ResiliencePropertyNames

Namespace
WorkflowForge.Extensions.Resilience.Polly
Assembly
WorkflowForge.Extensions.Resilience.Polly.dll

Property names specific to Polly resilience patterns for structured logging. These properties extend the core PropertyNames with resilience-specific context.

public static class ResiliencePropertyNames
Inheritance
ResiliencePropertyNames
Inherited Members

Fields

BreakDurationMs

Circuit breaker break duration in milliseconds

public const string BreakDurationMs = "BreakDurationMs"

Field Value

string

CircuitState

Circuit breaker current state (Closed, Open, HalfOpen)

public const string CircuitState = "CircuitState"

Field Value

string

ConsecutiveFailures

Number of consecutive failures

public const string ConsecutiveFailures = "ConsecutiveFailures"

Field Value

string

FailureThreshold

Circuit breaker failure threshold

public const string FailureThreshold = "FailureThreshold"

Field Value

string

MaxRetryAttempts

Maximum retry attempts allowed

public const string MaxRetryAttempts = "MaxRetryAttempts"

Field Value

string

PolicyCount

Number of policies in the pipeline

public const string PolicyCount = "PolicyCount"

Field Value

string

PolicyName

Name of the Polly policy being applied

public const string PolicyName = "PolicyName"

Field Value

string

PolicyType

Type of resilience policy (Retry, CircuitBreaker, Timeout, Comprehensive)

public const string PolicyType = "PolicyType"

Field Value

string

RetryAttempt

Current retry attempt number

public const string RetryAttempt = "RetryAttempt"

Field Value

string

RetryDelayMs

Delay before next retry in milliseconds

public const string RetryDelayMs = "RetryDelayMs"

Field Value

string

RetryReason

Reason for retry attempt

public const string RetryReason = "RetryReason"

Field Value

string

TimedOut

Indicates if operation was cancelled due to timeout

public const string TimedOut = "TimedOut"

Field Value

string

TimeoutMs

Timeout duration in milliseconds

public const string TimeoutMs = "TimeoutMs"

Field Value

string