status:Unknown with /actuator/helath
See original GitHub issueResilience4j version:1.5.0
Java version:11
I am getting
"circuitBreakers": {
"status": "UNKNOWN"
},
Do I need to do any extra configurations?
my application.properties looks below all other metrics works fine.
spring.application.name=resilience4j-demo
spring.jackson.serialization.indent_output=true
server.port=8080
management.endpoints.web.exposure.include=*
management.endpoint.health.show-details=always
management.health.diskspace.enabled=false
management.health.circuitbreakers.enabled=true
management.health.ratelimiters.enabled=false
info.name=${spring.application.name}
info.description = resilience4j demo
info.environment=${spring.profiles.active}
info.version= 0.0.1
management.metrics.tags.application=${spring.application.name}
management.metrics.distribution.percentiles-histogram.http.server.requests=true
management.metrics.distribution.percentiles-histogram.resilience4j.circuitbreaker.calls=true
#resilience4j.circuitbreaker.metrics.use_legacy_binder: true
resilience4j.circuitbreaker.configs.default.register-health-indicator=false
resilience4j.circuitbreaker.configs.default.sliding-window-size=10
resilience4j.circuitbreaker.configs.default.minimum-number-of-calls=5
resilience4j.circuitbreaker.configs.default.permitted-number-of-calls-in-half-open-state=3
resilience4j.circuitbreaker.configs.default.automatic-transition-from-open-to-half-open-enabled=true
resilience4j.circuitbreaker.configs.default.wait-duration-in-open-state=5s
resilience4j.circuitbreaker.configs.default.failure-rate-threshold=20
resilience4j.circuitbreaker.configs.default.event-consumer-buffer-size=10
resilience4j.circuitbreaker.configs.default.record-exceptions=org.springframework.web.client.HttpServerErrorException
resilience4j.circuitbreaker.instances.backendService.base-config=default
Issue Analytics
- State:
- Created 3 years ago
- Comments:15 (8 by maintainers)
Top Results From Across the Web
java - Actuator endpoints returns "circuitBreakers":{"status ...
Very happy. However, on a actuator health endpoint, I am seeing this : "circuitBreakers":{"status":"UNKNOWN"}.
Read more >Health Indicators in Spring Boot - Baeldung
In order to inspect the health status of a Spring Boot application, we can call the /actuator/health endpoint. This endpoint will report an ......
Read more >49. Endpoints - Spring
Actuator endpoints allow you to monitor and interact with your application. ... a status that is known to the HealthAggregator , an UNKNOWN...
Read more >org.springframework.boot.actuate.health.Health.getStatus java ...
Health health = healthAPI.health(env); return "UP".equals(health. ... isEqualTo(Status.UP); then(health.getStatus()).isEqualTo(Status.UNKNOWN); then(health.
Read more >Spring Boot & Kubernetes - Cloud Native Tutorials
Also, it's possible to get the status of specific health indicator sending request to /actuator/health/{name} , where name is the prefix part of...
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
resilience4j.circuitbreaker.instances.orderService.registerHealthIndicator=true
in combination with: management.health.circuitbreakers.enabled=true management.endpoints.web.exposure.include=health management.endpoint.health.show-details=always
solved the problem for me.
ok closing the ticket as nothing more is required from our side , feel free to open new if you have new questions