Spring Cloud Gateway Circuit Breaker demo
- Run the demo with
./mvnw spring-boot:run
- Navigate to
http://localhost:8080/httpbin/html
- expected response is displayed, CB is not tripped - Navigate to
http://localhost:8080/httpbin/status/500
orhttp://localhost:8080/httpbin/status/404
, this will trigger CB and the failure page will be displayed - Check that metrics are registered at
http://localhost:8080/actuator/metrcis
- Alternatively, uncomment
wavefront-spring-boot-starter
dependency inpom.xml
to enable WaveFront integration to visualise CB metrics