Merge branch '3.0.x' into 3.1.x

Closes gh-36516
This commit is contained in:
Stephane Nicoll 2023-07-24 13:00:47 +02:00
commit 48622f2b7d
1 changed files with 2 additions and 2 deletions

View File

@ -103,12 +103,12 @@ public class StartupTimeMetricsListener implements SmartApplicationListener {
}
private void onApplicationStarted(ApplicationStartedEvent event) {
registerGauge(this.startedTimeMetricName, "Time taken (ms) to start the application", event.getTimeTaken(),
registerGauge(this.startedTimeMetricName, "Time taken to start the application", event.getTimeTaken(),
event.getSpringApplication());
}
private void onApplicationReady(ApplicationReadyEvent event) {
registerGauge(this.readyTimeMetricName, "Time taken (ms) for the application to be ready to service requests",
registerGauge(this.readyTimeMetricName, "Time taken for the application to be ready to service requests",
event.getTimeTaken(), event.getSpringApplication());
}