Circuit breakers monitor metrics and trip when conditions exceed thresholds. Each type evaluates data differently.
Trips when the arithmetic mean of values in a window exceeds a threshold.
Trips after a specific number of failures occur sequentially.
Trips when the total number of events in a window exceeds a threshold.
Trips when the current value diverges significantly from the recent trend.
Trips when the ratio of errors to total requests exceeds a threshold.
Trips when a single value in the window exceeds a ceiling threshold.
Trips when a single value in the window falls below a floor threshold.
Trips when the 95th percentile (the "slowest 5%") exceeds a threshold.
Trips when a user-defined percentile of a metric exceeds a threshold.
Trips when the relationship between two different metrics is imbalanced.
Trips when the long-term trajectory of a metric indicates a steady crawl in a bad direction.
Trips when the inconsistency of a metric exceeds a threshold.
Trips when the cumulative total of all values in a window exceeds a budget.