
store
Database circuit breaker factory plus the error filter used by the driver-level DBTX/DB wrappers. The CB instance is a first-class DI-registered value; consumers that need lifecycle controls (IsHealthy, ResetStaleProbe) invoke *breaker.CircuitBreaker directly.
Index
func NewDatabaseBreaker
NewDatabaseBreaker returns the circuit breaker used to guard metadata store calls. It treats S3Error, ErrNoSpaceAvailable, and “no rows” sentinels as application-level signals that should not trip the circuit. Wires the telemetry hook so CircuitBreakerState / CircuitBreakerTransitionsTotal are populated.
Generated by gomarkdoc