Circuit breaker Dropwizard metrics show correct values only if circuit breaker state does not change.
After the change of state, metrics in metric registry still show old values of the first state, not current values.
metricRegistry.registerAll(CircuitBreakerMetrics.ofCircuitBreaker(circuitBreaker));
Small reproducer example: https://github.com/yuppie-flu/circuit-breaker-metrics-bug
Hi @yuppie-flu,
Thank you for this bug report. Unfortunately I will have limited internet availability for the next 3 days, so I won鈥檛 be able to reproduce and fix it.
I hope it can wait till monday.
Have a nice day.
Thx. We have a look at it.
Hi @yuppie-flu,
Fix is already in master.
Hopefully it is not so critical for you and we can finish our work on 0.11.0 branch.
We target that release on Friday (Dec 15).
Is it OK for you?
Thank you for quick fix and nice library.
It's totally ok for me, looking forward to 0.11.0 release
Hi @yuppie-flu,
FYI 0.11.0 is live, so you can try this bug fix.
Most helpful comment
Thank you for quick fix and nice library.
It's totally ok for me, looking forward to 0.11.0 release