Description

Configuration of a circuit breaker.

Usages

Configuration options

KeyKindTypeDefault ValueDescription
delayVALUEDurationPT5SHow long to wait before transitioning from open to half-open state
enable-metricsVALUEBooleanfalseFlag to enable metrics for this instance
error-ratioVALUEInteger60How many failures out of 100 will trigger the circuit to open
success-thresholdVALUEInteger1How many successful calls will close a half-open circuit
volumeVALUEInteger10Rolling window size used to calculate ratio of failed requests

See the manifest for all available types.