Skip to content

Commit 44b9aa1

Browse files
committed
Polish "Improve description of Endpoint exclude"
Closes gh-13619
1 parent 838e6cd commit 44b9aa1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
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-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)