Skip to content

Add new spring.boot.admin.client.instance.service-path #804

@getalphacode

Description

@getalphacode

Hi guys.
Thanks for this awesome tool. I've many microservices which are all being registered with spring boot admin. However, I've a couple of services which have set their context path using ServletRegisterationBean programmatically. So their endpoints are localhost:8080/app/health instead of localhost:8080/health.
In services which have context-path set via properties, everything is working fine. But I'm not able to get spring boot admin client to use /app as context path of health endpoint. I don't want to provide absolute url as I saw in some property.

Is there any property via which I can set the context-path in spring boot admin client?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions