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.

Circuit breaker status to health on actutor endpoint

See original GitHub issue

Resilience4j version: 1.2.0

Java version: 1.8

Problem description: I’m not getting the status of resilience4j in my /actuator/health endpoint.

Following libs that I’m using:

<resilience4jVersion>1.2.0</resilience4jVersion>

<dependency>
			<groupId>org.springframework.boot</groupId>
			<artifactId>spring-boot-starter-aop</artifactId>
		</dependency>
		
		<dependency>
			<groupId>org.springframework.boot</groupId>
			<artifactId>spring-boot-starter-actuator</artifactId>
		</dependency>

<dependency>
			<groupId>io.github.resilience4j</groupId>
			<artifactId>resilience4j-spring-boot2</artifactId>
			<version>${resilience4jVersion}</version>
		</dependency>

Thanks

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
RobWincommented, Dec 5, 2019

Hi,

https://resilience4j.readme.io/docs/getting-started-3#section-health-endpoint

By default the CircuitBreaker or RateLimiter health indicators are disabled, but you can enable them via the configuration.

management.health.circuitbreakers.enabled: true
management.health.ratelimiters.enabled: true
0reactions
kkgulaticommented, Dec 27, 2019

ignore, I figured it out

http://localhost:9080/actuator/health

my bad.

Read more comments on GitHub >

github_iconTop Results From Across the Web

spring boot actuator health endpoint + dynamic resilience4j ...
Now I would like to make the circuit breakers' information available in the /actuator/health endpoint, but I'm not seeing the details.
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 >
Production-ready Features - Spring
You can use health information to check the status of your running application. It is often used by monitoring software to alert someone...
Read more >
Resilience4j Circuit Breaker with Spring Boot - Dev Genius
After configuring the circuit breaker, we can check the health from browser by entering the url <Host>/actuator/health.
Read more >
spring boot actuator health endpoint + dynamic resilience4j ...
Coding example for the question spring boot actuator health endpoint + dynamic resilience4j circuit breakers-Springboot.
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