Repository navigation
AspNetCore
Arnel Robles edited this page Sep 29, 2026
·
1 revision
using Carom.AspNetCore;
services.AddHealthChecks()
.AddCaromCircuitBreaker("payment-api");The check is named carom_payment-api unless you pass name. It reads the circuit with Cushion.GetState, which creates nothing.
| Circuit | Result |
|---|---|
| Closed | Healthy |
| HalfOpen | Degraded |
| Open |
failureStatus, Unhealthy by default |
| Never used | Healthy |
The service name must match the key given to Cushion.ForService (or AddCircuitBreaker in a pipeline).
CaromHealthCheck(name, Func<Task<bool>>) wraps any async check: true is Healthy, false or an exception is Unhealthy.
Written from the Carom source. The repository is the source of truth; if a page disagrees with the code, the code wins. Licensed MPL-2.0.
Core
Carom.Extensions
Integrations
Project