Resilience4j circuit breaker actuator heath check metrics showing some negative numbers
See original GitHub issueResilience4j version: 1.4.0
Java version: 1.8.0_65
I am using resiliance4j circuit breaker with spring boot. in the actuator health point metrics, I am seeing some disparities in slow-calls, a slow failed calls number are coming in negative instead of positive. which is not letting my circuit breaker to open. can anyone help me the significance of this, what these negative values mean?
"endpoint1":{
"status":"UP",
"details":{
"failureRate":"0.0%",
"failureRateThreshold":"50.0%",
"slowCallRate":"0.0%",
"slowCallRateThreshold":"50.0%",
"bufferedCalls":3500,
"slowCalls":0,
"slowFailedCalls":-2682,
"failedCalls":0,
"notPermittedCalls":0,
"state":"CLOSED"
}
}
I am using spring boot version 2.2.0, reactor core version: 3.3.5. I am using an annotation-based circuit breaker. and this issue is coming on higher load.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:10 (3 by maintainers)
Top Results From Across the Web
Resilience4j circuit breaker actuator heath check metrics ...
in the actuator health point metrics, I am seeing some disparities in as slow-calls, a slow failed calls number are coming in negative...
Read more >Improving Resilience Using Resilience4j - Second Edition
In this chapter, we will learn how to use Resilience4j to make our microservices more resilient, that is, how to mitigate and recover...
Read more >Getting Started - resilience4j
Spring Boot Actuator health information can be used to check the status of your running application. It is often used by monitoring software...
Read more >Dive into Kubernetes Healthchecks (part 2) | by Woj Sierakowski
This is the second part of the series introducing you to K8s (Kubernetes) health checks. In the previous part, we got familiar with...
Read more >Why to use Circuit Breaker Pattern? - pankajtechblogs
Resilience4j is a lightweight, easy-to-use fault tolerance library, and it offers features like Rate Limiter, Retry and Bulkhead, TimeLimiter, ...
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
@RobWin , Thanks for quick response. I’m using resilience4j-spring-boot2 v1.7.0, spring boot v2.2.1
Seems it happens when slowFailedCalls count < slowCalls or failedCalls “slowCalls”: 6, “slowFailedCalls”: 3, “failedCalls”: 6, From above metrics then as success calls come in: “slowCalls”: 6 → 5 → 4 → 3 → 2 → 1 → 0 → 0 “slowFailedCalls”: 3 → 2 → 1 → 0 → -1 → -2 → -3 → -4 “failedCalls”: 6 → 5 → 4 → 3 → 2 → 1 → 0 → 0
Hello~ Any updates about this?