You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current state of circuit breakers is not exposed through metrics. It would be favorable to expose the current state of circuit breakers through metrics to, for example, configure monitoring and alerting on this metric.
Imlementation ideas:
create one gauge value per breaker, with possible values 0, 1, 2, encoding the states closed, half-open and open
create one gauges per breaker and state, set the gauge representing the current state to 1, the others to 0
create one value per breaker with tags encoding the state, as outlined here.
The text was updated successfully, but these errors were encountered:
I'll implement this using the 3rd option: 1 gauge (ft.circuitbreaker.state.current) with tags that specify 1. the method name, 2. the state name (closed, open, halfOpen). The value of the gauge will be 1 if the corresponding circuit breaker is "currently" in given state, and 0 otherwise.
The current state of circuit breakers is not exposed through metrics. It would be favorable to expose the current state of circuit breakers through metrics to, for example, configure monitoring and alerting on this metric.
Imlementation ideas:
0
,1
,2
, encoding the statesclosed
,half-open
andopen
1
, the others to0
The text was updated successfully, but these errors were encountered: