0

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
user2846382
  • 385
  • 1
  • 3
  • 16

2 Answers2

1

Disable those endpoints in your applications

joshiste
  • 2,638
  • 1
  • 14
  • 19
0

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

Nick
  • 328
  • 2
  • 10