CircuitBreakerModule

Companion:
class
class Object
trait Matchable
class Any

Value members

Concrete methods

def apply[F[_]](using evidence$1: Sync[F]): CircuitBreakerModule[F]

Creates com.avast.sst.monix.catnap.CircuitBreakerModule specialed for F[_]: Sync.

Creates com.avast.sst.monix.catnap.CircuitBreakerModule specialed for F[_]: Sync.

def withLogging[F[_]](name: String, circuitBreaker: CircuitBreaker[F])(using evidence$2: Sync[F]): CircuitBreaker[F]

Wraps monix.catnap.CircuitBreaker and makes it log important events (e.g. onClose, onOpen).

Wraps monix.catnap.CircuitBreaker and makes it log important events (e.g. onClose, onOpen).

def withMetrics[F[_]](circuitBreakerMetrics: CircuitBreakerMetrics[F], circuitBreaker: CircuitBreaker[F]): CircuitBreaker[F]

Wraps monix.catnap.CircuitBreaker and adds monitoring metrics (e.g. number of rejected tasks).

Wraps monix.catnap.CircuitBreaker and adds monitoring metrics (e.g. number of rejected tasks).