question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

status:Unknown with /actuator/helath

See original GitHub issue

Resilience4j version:1.5.0

Java version:11

I am getting

"circuitBreakers": {
            "status": "UNKNOWN"
        },

image

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:closed
  • Created 3 years ago
  • Comments:15 (8 by maintainers)

github_iconTop GitHub Comments

3reactions
Js109commented, Jan 17, 2022

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.

0reactions
Romehcommented, Feb 18, 2021

ok closing the ticket as nothing more is required from our side , feel free to open new if you have new questions

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found