Circuit Breaker Metrics and Monitoring

Last Modified on
monitoring observability

Circuit Breaker metrics are used to monitor the health and performance of a circuit breaker. By collecting and analyzing metrics, developers can identify patterns and trends that may indicate potential issues or opportunities for optimization.


Circuit breaker metrics typically include the following:

  • Error rates: the percentage of service calls that have resulted in errors or failures.
  • Volume: the total number of service calls, both successful and unsuccessful, over a given period of time.
  • Latency: the time it takes for a service call to complete, including the time spent waiting for the service to respond.
  • Timeouts: the number of service calls that have exceeded the circuit breaker’s timeout threshold.
  • Fallbacks: the number of times the circuit breaker has returned a fallback response or error.
  • State transitions: the number of times the circuit breaker has transitioned between the open, half-open, and closed states.

By monitoring these metrics, developers can gain insight into how the circuit breaker is performing and identify any areas for improvement. For example, a high error rate may indicate that the service is experiencing frequent failures, while a high volume may indicate that the service is being overloaded with requests.

Side Widget
You can put anything you want inside of these side widgets. They are easy to use, and feature the Bootstrap 5 card component!