user2846382
user2846382

Reputation: 385

spring boot admin disable specific tabes from UI

I want to disable specific tabs from Spring boot admin UI. Is there any way to achieve this ? might be using some property or anything. My SBA server properties are as follows :

spring.boot.admin.context-path=/admin
spring.boot.admin.ui.title=Admin
server.address=localhost
server.port=6789
spring.security.user.name=user
spring.security.user.password=Admin123

Upvotes: 0

Views: 2029

Answers (2)

Nick
Nick

Reputation: 348

As @joshiste pointed out you have to configure your applications not spring boot admin itself.

Warning be careful what endpoints you expose!!

You can configure which tabs/endpoints are displayed by setting the properties

management.endpoints.web.exposure.exclude
management.endpoints.web.exposure.include

You can specify a comma separated list select from {health, info, metrics, etc.}

For a fuller list @see https://docs.spring.io/spring-boot/docs/current/reference/html/production-ready-features.html#production-ready-endpoints

Upvotes: 0

joshiste
joshiste

Reputation: 2687

Disable those endpoints in your applications

Upvotes: 1

Related Questions