Bug: Circuit breaker Dropwizard metrics show only first state values
See original GitHub issueCircuit 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.
Steps to reproduce:
- Register metric in Dropwizard registry with
metricRegistry.registerAll(CircuitBreakerMetrics.ofCircuitBreaker(circuitBreaker));
- Change state of the circuit breaker
Small reproducer example: https://github.com/yuppie-flu/circuit-breaker-metrics-bug
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
CircuitBreaker: How to treat exceptions as a success #568
Hi, I have the following setup: A 3rd party service (runs on localhost:8090/sample) and it always returns bad request (400).
Read more >RELEASENOTES.adoc · BigBear/Resilience4j - Gitee.com
Issue #38: A CircuitBreaker records not permitted calls when the state is OPEN and emits a event for each attempt. The metric "numberOfNotPermittedCalls" ......
Read more >Getting Started - Dropwizard Metrics
Getting Started will guide you through the process of adding Metrics to an existing application. We'll go through the various measuring instruments that ......
Read more >1.3.0 release notes - ARMERIA.dev
The metrics of requests to a TransientService are not collected anymore by default. ... You can now apply CircuitBreaker per request path.
Read more >Apache Solr Release Notes
Consult the lucene/CHANGES.txt file for additional, low level, changes in this release. New Features (12).
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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.