Record: CircuitBreakerInferredConfig
Derived set of configurations from the CircuitBreakerConfig
.
Closed record
Fields
- failureThreshold float(default 0.0)
- resetTime decimal(default 0)
- statusCodes int[ ](default [])
- noOfBuckets int(default 0)
- rollingWindow RollingWindow(default {})
The threshold for request failures. When this threshold exceeds, the circuit trips. The threshold should be a value between 0 and 1
The time period (in seconds) to wait before attempting to make another request to the upstream service
Array of HTTP response status codes which are considered as failures
Number of buckets derived from the RollingWindow
The http:RollingWindow
options provided in the http:CircuitBreakerConfig