Skip to content

Commit e266dea

Browse files
authored
fix: add missing endpoints to the default list of probed endpoints (#5361)
1 parent 6cafe88 commit e266dea

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

spring-boot-admin-server/src/main/java/de/codecentric/boot/admin/server/config/AdminServerProperties.java

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public class AdminServerProperties {
5050
private InstanceProxyProperties instanceProxy = new InstanceProxyProperties();
5151

5252
/**
53-
* The metadata keys which should be sanitized when serializing to json
53+
* The metadata keys which should be sanitized when serializing to JSON
5454
*/
5555
private String[] metadataKeysToSanitize = new String[] { ".*password$", ".*secret$", ".*key$", ".*token$",
5656
".*credentials.*", ".*vcap_services$" };
@@ -60,10 +60,14 @@ public class AdminServerProperties {
6060
* using the actuator links. For Spring Boot 1.x applications SBA probes for the
6161
* specified endpoints using an OPTIONS request. If the path differs from the id you
6262
* can specify this as id:path (e.g. health:ping).
63+
* <p>
64+
* All the available default endpoints are listed in the <a href=
65+
* "https://docs.spring.io/spring-boot/reference/actuator/endpoints.html">documentation</a>.
6366
*/
6467
private String[] probedEndpoints = { "health", "env", "metrics", "httptrace:trace", "httptrace", "threaddump:dump",
6568
"threaddump", "jolokia", "info", "logfile", "refresh", "flyway", "liquibase", "heapdump", "loggers",
66-
"auditevents", "mappings", "scheduledtasks", "configprops", "caches", "beans" };
69+
"auditevents", "mappings", "scheduledtasks", "configprops", "caches", "beans", "conditions",
70+
"httpexchanges", "integrationgraph", "quartz", "sessions", "shutdown", "startup", "prometheus", "sbom" };
6771

6872
public void setContextPath(String contextPath) {
6973
this.contextPath = PathUtils.normalizePath(contextPath);
@@ -132,7 +136,7 @@ public static class MonitorProperties {
132136

133137
/**
134138
* Default number of retries for failed requests. Individual values for specific
135-
* endpoints can be overriden using `spring.boot.admin.monitor.retries.*`.
139+
* endpoints can be overridden using `spring.boot.admin.monitor.retries.*`.
136140
*/
137141
private int defaultRetries = 0;
138142

0 commit comments

Comments
 (0)