Spring Boot Admin Client
Table 1. Spring Boot Admin Client configuration options
Property name | Description | Default value |
---|---|---|
spring.boot.admin.client.enabled | Enables the Spring Boot Admin Client. | true |
spring.boot.admin.url | List of URLs of the Spring Boot Admin server to register at. This triggers the AutoConfiguration. Mandatory. | |
spring.boot.admin.api-path | Http-path of registration endpoint at your admin server. | "api/applications" |
spring.boot.admin.username spring.boot.admin.password | Username and password for http-basic authentication. If set the registration uses http-basic-authentication when registering at the admin server. | |
spring.boot.admin.period | Interval for repeating the registration (in ms). | 10.000 |
spring.boot.admin.auto-registration | If set to true the periodic task to register the application is automatically scheduled after the application is ready. | true |
spring.boot.admin.auto-deregistration | Switch to enable auto-deregistration at Spring Boot Admin server when context is closed. | false |
spring.boot.admin.client.health-url | Client-health-url to register with. Can be overridden in case the reachable URL is different (e.g. Docker). Must be unique in registry. | Guessed based on management-url andendpoints.health.id. |
spring.boot.admin.client.management-url | Client-management-url to register with. Can be overridden in case the reachable url is different (e.g. Docker). | Guessed based on service-url,server.servlet-path,management.portandmanagement.context-path. |
spring.boot.admin.client.service-url | Client-service-url to register with. Can be overridden in case the reachable url is different (e.g. Docker). | Guessed based on hostname,server.portandserver.context-path. |
spring.boot.admin.client.name | Name to register with. | ${spring.application.name}if set,"spring-boot-application"otherwise. |
spring.boot.admin.client.prefer-ip | Use the ip-address rather then the hostname in the guessed urls. Ifserver.address/management.addressis set, it get used. Otherwise the IP address returned fromInetAddress.getLocalHost()gets used. | false |