Skip to content

Commit 44ebeb8

Browse files
committed
Merge pull request #13619 from 72MiguelGomes:small-documentation-improve
* pr/13619: Polish "Improve description of Endpoint exclude" Improve description of Endpoint exclude
2 parents 00883a4 + 44b9aa1 commit 44ebeb8

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/endpoint/jmx/JmxEndpointProperties.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ public static class Exposure {
9090
private Set<String> include = new LinkedHashSet<>();
9191

9292
/**
93-
* Endpoint IDs that should be excluded.
93+
* Endpoint IDs that should be excluded or '*' for all.
9494
*/
9595
private Set<String> exclude = new LinkedHashSet<>();
9696

spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/endpoint/web/WebEndpointProperties.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public static class Exposure {
8181
private Set<String> include = new LinkedHashSet<>();
8282

8383
/**
84-
* Endpoint IDs that should be excluded.
84+
* Endpoint IDs that should be excluded or '*' for all.
8585
*/
8686
private Set<String> exclude = new LinkedHashSet<>();
8787

spring-boot-project/spring-boot-docs/src/main/asciidoc/appendix-application-properties.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1169,13 +1169,13 @@ content into your application. Rather, pick only the properties that you need.
11691169
# ENDPOINTS JMX CONFIGURATION ({sc-spring-boot-actuator-autoconfigure}/endpoint/jmx/JmxEndpointProperties.{sc-ext}[JmxEndpointProperties])
11701170
management.endpoints.jmx.domain=org.springframework.boot # Endpoints JMX domain name. Fallback to 'spring.jmx.default-domain' if set.
11711171
management.endpoints.jmx.exposure.include=* # Endpoint IDs that should be included or '*' for all.
1172-
management.endpoints.jmx.exposure.exclude= # Endpoint IDs that should be excluded.
1172+
management.endpoints.jmx.exposure.exclude= # Endpoint IDs that should be excluded or '*' for all.
11731173
management.endpoints.jmx.static-names= # Additional static properties to append to all ObjectNames of MBeans representing Endpoints.
11741174
management.endpoints.jmx.unique-names=false # Whether to ensure that ObjectNames are modified in case of conflict.
11751175
11761176
# ENDPOINTS WEB CONFIGURATION ({sc-spring-boot-actuator-autoconfigure}/endpoint/web/WebEndpointProperties.{sc-ext}[WebEndpointProperties])
11771177
management.endpoints.web.exposure.include=health,info # Endpoint IDs that should be included or '*' for all.
1178-
management.endpoints.web.exposure.exclude= # Endpoint IDs that should be excluded.
1178+
management.endpoints.web.exposure.exclude= # Endpoint IDs that should be excluded or '*' for all.
11791179
management.endpoints.web.base-path=/actuator # Base path for Web endpoints. Relative to server.servlet.context-path or management.server.servlet.context-path if management.server.port is configured.
11801180
management.endpoints.web.path-mapping= # Mapping between endpoint IDs and the path that should expose them.
11811181

0 commit comments

Comments
 (0)