Polish "Clarify usage of BufferingApplicationStartup"

See gh-25075
This commit is contained in:
Stephane Nicoll
2021-02-09 09:31:21 +01:00
parent 853dbc3de3
commit b2818680fd
3 changed files with 5 additions and 8 deletions

View File

@@ -122,9 +122,8 @@ The following technology-agnostic endpoints are available:
Disabled by default.
| `startup`
| Shows the startup steps data collected by the `ApplicationStartup`.
| Shows the <<spring-boot-features.adoc#boot-features-application-startup-tracking,startup steps data>> collected by the `ApplicationStartup`.
Requires the `SpringApplication` to be configured with a `BufferingApplicationStartup`.
More details about the implementations can be found at <<boot-features.adoc#boot-features-application-startup-tracking, application startup tracking>> page.
| `threaddump`
| Performs a thread dump.

View File

@@ -485,8 +485,7 @@ Once configured, you can record data by running the application with the Flight
Spring Boot ships with the `BufferingApplicationStartup` variant; this implementation is meant for buffering the startup steps and draining them into an external metrics system.
Applications can ask for the bean of type `BufferingApplicationStartup` in any component.
Additionally, Spring Boot Actuator will <<production-ready-features.adoc#production-ready-endpoints, expose a `startup` endpoint to expose this information as a JSON document>>.
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.
Additionally, Spring Boot Actuator will {spring-boot-actuator-restapi-docs}/#startup[expose a `startup` endpoint to expose this information as a JSON document].
[[boot-features-external-config]]
== Externalized Configuration