spring-boot-admin icon indicating copy to clipboard operation
spring-boot-admin copied to clipboard

Description Failed to `exclude /actuator/**` the HTTP trace

Open wangpeicong1998 opened this issue 3 years ago • 3 comments

When only management-base-URL is configured, the Springboot-admin tool cannot filter the option of exclude /actuator/**, When prefer-IP and management-base-URL are configured simultaneously, You can use the Exclude function

Use version:

<groupId>org.mybatis.spring.boot</groupId>
<artifactId>mybatis-spring-boot-starter</artifactId>
<version>2.6.7</version>

<groupId>de.codecentric</groupId>
<artifactId>spring-boot-admin-starter-client</artifactId>
<version>2.5.1</version>

wangpeicong1998 avatar Aug 01 '22 09:08 wangpeicong1998

@joshiste

wangpeicong1998 avatar Aug 03 '22 02:08 wangpeicong1998

@erikpetzold

wangpeicong1998 avatar Aug 04 '22 03:08 wangpeicong1998

Hi @wangpeicong1998,

A little bit more information is required to check your issue. How are client and server deployed and communicating with each other (war/standalone/servlet/docker etc.)? Please provide a test case or sample application and/or configuration file if possible. Ideally, you could provide us with a repository that we can use to reproduce the error.

Regards, Uli

ulischulte avatar Aug 05 '22 07:08 ulischulte

@wangpeicong1998

ulischulte avatar Aug 12 '22 06:08 ulischulte

Hi @wangpeicong1998,

since we're not receiving any response, we're closing this issue right now. Some hints that might solve your problem: The filter 'actuator/**' is shown if the managementUrl includes the registered serviceUrl. This means for instance, if you configure separate application and management ports, you won't find this filter (which might be your case). A solution for you might be configuring spring.boot.admin.client.instance.service-url.

Regards, Uli

ulischulte avatar Aug 19 '22 07:08 ulischulte