How to configure DS Replicas links in Spring Cloud Eureka Server dashboard

I am setting up an Eureka cluster with 3 replicas.

I have a nice dashboard that auto-populates with the instances currently registered with Eureka and DS Replicas.

However, DS Replicas links seem to point to the I value set as eureka.client.serviceUrl.defaultZone

. In my case, this value is similar to http://node-01:8761/eureka/

what actually returns 404. Is there a way I could configure the panel to cut / eureka / part, so when I follow the links I end up in other dashboards or I don't understand how to use these links?

enter image description here

+3


source to share


1 answer


There is no easy way to change the link as you ask.



However, the Eureka server UI portion is the standard Spring MVC @Controller. An instance of it is created org.springframework.cloud.netflix.eureka.server.EurekaServerConfiguration

. Look at the current implementation ... it shouldn't be too hard to provide your own custom version.

+1


source







All Articles