Search code examples
javaspring-bootnetflix-eurekaspring-boot-admin

spring-boot-admin, Version and Info not shown


One of our applications is configured with a custom context-path. In order to configure our Eureka Client, we added the following properties:

server.context-path=/ourApp
eureka.instance.statusPageUrlPath=${server.context-path}/info
eureka.instance.healthCheckUrlPath=${server.context-path}/health

Despite these properties, information for this application is not correctly found:

enter image description here

Also, when looking at the details for this application, the metrics are not found.

For application without any particular application context (using root -> "/"), it's working fine!

Any idea which other eureka.* properties might be missing?


Solution

  • Found it, following property is the one I was looking for:

    eureka.instance.metadata-map.management.context-path=${server.context-path}