Circuit Breaker Support
The Circuit Breaker feature is supported through the use of Resilience4j libraries.
By default, all the exceptions count as a failure. The list of the exceptions are not a part of this feature.
For more information, information, see HTTP Client in the Shared Resources section of the Bindings and Palette Reference.
- Grafana Dashboard Integration
To monitor the events that are generated by the Resilience4j library, use Prometheus and Grafana for visualization.- VMware Tanzu - You can retrieve the Resilience4j metrics using
http://<routable url>/resilience4j_metrics
For example,
http://myapp.demopcf.com:80/resilience4j_metrics
- Docker or Docker-based platforms - You can retrieve the Resilience4j metrics using the command
http://<Container IP>:8090/resilience4j_metrics
For example,
http://132.99.1.6:8090/resilience4j_metrics
- VMware Tanzu - You can retrieve the Resilience4j metrics using
For existing applications prior to TIBCO BusinessWorks Container Edition 2.7.0 with Circuit Breaker enabled through Hystrix, follow these steps to use Circuit Breaker using Resilience4j over Hystrix libraries.
- Procedure
-
Import existing application in TIBCO Business Studio for BusinessWorks.
-
Navigate to Problems tab and select EMF Validation Problem. Resolve all the EMF validation problems related to Circuit Breaker configuration error.
After all the issues related to Circuit Breaker configuration are resolved, you can use the application for Circuit Breaker configuration with Resilience4j libraries.