Description
Enhance the existing circuit breaker implementation to support more granular failure detection and state management across all external service integrations (providers, payment gateways, compliance services).
Acceptance Criteria
- Circuit breaker tracks per-endpoint failure rates
- Automatic state transitions (closed → open → half-open)
- Metrics exposed for monitoring
- Configurable thresholds and reset times
- Graceful degradation when circuit open
Implementation Notes
- Review current opossum configuration
- Add per-endpoint configuration
- Implement state machine for transitions
- Add Prometheus metrics export
Description
Enhance the existing circuit breaker implementation to support more granular failure detection and state management across all external service integrations (providers, payment gateways, compliance services).
Acceptance Criteria
Implementation Notes