CircuitMetrics
Defined in: src/circuit-breaker.ts:26
Extended by
Section titled “Extended by”Properties
Section titled “Properties”failureCount
Section titled “failureCount”
readonlyfailureCount:number
Defined in: src/circuit-breaker.ts:29
failureRate
Section titled “failureRate”
readonlyfailureRate:number
Defined in: src/circuit-breaker.ts:31
failureCount / total, 0 when empty.
readonlytotal:number
Defined in: src/circuit-breaker.ts:28
Calls recorded in the current window (successes + failures; ignored calls are not counted).