spring-bootspring-boot-actuatorspring-boot-adminhystrix-dashboard

How to get Hystrix Dashboard working again in Spring Boot Admin 2.x


Spring Boot Admin 1 has an integrated Hystrix Dashboard. After upgrading my stack from Spring Boot 1.x to 2.x; this dashboard seems to have disappeared. How can I re-enable it?


Solution

  • The official support for Hystrix Dashboard was dropped in Spring Boot Admin 2.x. There now exists an unofficial plugin for Spring Boot Admin 2.x that brings Hystrix Dashboard back to live.

    Add the following Maven dependency to your Spring Boot Admin application's pom.xml, rebuild and deploy.

    <dependency>
        <groupId>nl.devillers</groupId>
        <artifactId>spring-boot-admin-hystrix-dashboard</artifactId>
        <version>1.0.2</version>
    </dependency>
    

    The instance view in Spring Boot Admin should now show a "Hystrix" tab with the dashboard, like in the screenshot below. If it doesn't show up, make sure your Spring Boot application (the client) is properly configured:

    Screenshot of Hystrix Dashboard in Spring Boot Admin