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:
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?
Found it, following property is the one I was looking for:
eureka.instance.metadata-map.management.context-path=${server.context-path}