For a CircuitBreaker that fails when the fraction of failures in a sample period exceeds some threshold
For a CircuitBreaker that fails when the fraction of failures in a sample period exceeds some threshold
The sample interval is divided into a number of buckets, which are rotated periodically (sampleDuration / nrSampleBuckets) to achieve a moving average of the failure rate.
Value parameters
failureRateThreshold
The minimum fraction (between 0.0 and 1.0) of calls that must fail within the sample duration for the circuit breaker to trip
minThroughput
Minimum number of calls required within the sample period to evaluate the actual failure rate.