Skip to content

Commit 70c2f8a

Browse files
JohanNordlinderJohanNordlinderulischulte
authored
Documenting minimum value for spring.boot.admin.monitor.status-interval (#4144)
Co-authored-by: JohanNordlinder <[email protected]> Co-authored-by: Ulrich Schulte <[email protected]>
1 parent b2759a2 commit 70c2f8a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: spring-boot-admin-docs/src/site/docs/server/99-server-properties.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ sidebar_custom_props:
99
|-------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
1010
| `spring.boot.admin.server.enabled` | Enables the Spring Boot Admin Server. | true |
1111
| `spring.boot.admin.context-path` | The context-path prefixes the path where the Admin Server’s statics assets and API should be served. Relative to the Dispatcher-Servlet. | |
12-
| `spring.boot.admin.monitor.status-interval` | Time interval to check the status of instances. | 10,000ms |
12+
| `spring.boot.admin.monitor.status-interval` | Time interval to check the status of instances, must be greater than 1 second. | 10,000ms |
1313
| `spring.boot.admin.monitor.status-max-backoff` | The maximal backoff for status check retries (retry after error has exponential backoff, minimum backoff is 1 second). | 60,000ms |
1414
| `spring.boot.admin.monitor.status-lifetime` | Lifetime of status. The status won’t be updated as long the last status isn’t expired. | 10,000ms |
1515
| `spring.boot.admin.monitor.info-interval` | Time interval to check the info of instances. | 1m |

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ public static class ServerProperties {
9191
public static class MonitorProperties {
9292

9393
/**
94-
* Time interval to check the status of instances.
94+
* Time interval to check the status of instances, must be greater than 1 second.
9595
*/
9696
@DurationUnit(ChronoUnit.MILLIS)
9797
private Duration statusInterval = Duration.ofMillis(10_000L);

0 commit comments

Comments
 (0)