Skip to content

Commit d5c7e0f

Browse files
committed
Clarify usage of BufferingApplicationStartup
Closes gh-24605
1 parent d9f3e89 commit d5c7e0f

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

spring-boot-project/spring-boot-docs/src/docs/asciidoc/production-ready-features.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ The following technology-agnostic endpoints are available:
124124
| `startup`
125125
| Shows the startup steps data collected by the `ApplicationStartup`.
126126
Requires the `SpringApplication` to be configured with a `BufferingApplicationStartup`.
127+
More details about the implementations can be found at <<boot-features.adoc#boot-features-application-startup-tracking, application startup tracking>> page.
127128

128129
| `threaddump`
129130
| Performs a thread dump.

spring-boot-project/spring-boot-docs/src/docs/asciidoc/spring-boot-features.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -486,6 +486,7 @@ Once configured, you can record data by running the application with the Flight
486486
Spring Boot ships with the `BufferingApplicationStartup` variant; this implementation is meant for buffering the startup steps and draining them into an external metrics system.
487487
Applications can ask for the bean of type `BufferingApplicationStartup` in any component.
488488
Additionally, Spring Boot Actuator will <<production-ready-features.adoc#production-ready-endpoints, expose a `startup` endpoint to expose this information as a JSON document>>.
489+
Be aware, that during startup endpoint processing, all the collected steps will be pulled from the buffer, and sent in the response - so the further requests won't get the startup steps again.
489490

490491
[[boot-features-external-config]]
491492
== Externalized Configuration

0 commit comments

Comments
 (0)