<dependency>
    <groupId>org.springframework.cloud</groupId>
    <artifactId>spring-cloud-starter-eureka</artifactId>
</dependency>
@Configuration
@EnableAutoConfiguration
@EnableDiscoveryClient
@EnableAdminServer
public class SpringBootAdminApplication {
    public static void main(String[] args) {
        SpringApplication.run(SpringBootAdminApplication.class, args);
    }
}
eureka.instance.client.serviceUrl.defaultZone: http://localhost:8761/eureka/

You can include the Spring Boot Admin to your Eureka server. Add the dependencies, add@EnableAdminServerto your configuration and setspring.boot.admin.context-pathto something different than"/"so that the Spring Boot Admin Server UI won’t clash with Eureka’s one.

results matching ""

    No results matching ""