ReadonlyfailureShare of the window that must have failed, from 0 to 1.
ReadonlyminimumCalls that must be in the window before a rate can open the circuit, so two failures at three in the morning do not read as 100%.
ReadonlysizeCalls remembered.
Optional ReadonlyslowerCalls slower than this count as slow, whether or not they succeeded.
Optional ReadonlyslowShare of the window that must be slow, from 0 to 1. A dependency
answering every call in nine seconds is down; it just has not admitted it.
A circuit opened by slowness alone has no failure to report, so the
cause of its CircuitOpenError is undefined.
Optional ReadonlywithinHow recent a call has to be to count, in milliseconds. Left out, the
window is the last size calls however long ago they were, which reads
a quiet service's morning as if it were happening now.
How much of the recent past a breaker judges on.