Circuit Breakers and Response Codes

When attempting to set up a Circuit Breaker as defined in the documentation here, what consists of “tripping” the breaker?

i.e. what response codes cause the Circuit Breaker to trip, and can I filter or selectively choose what response codes trip the breaker?

This is answered here.

Only 5xx errors trigger the circuit breaker. It is intended to handle upstream or server errors. However, a gateway timeout can also trigger it since it returns 504.

1 Like