mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-07-15 01:07:30 +08:00
Fix description of started and ready time metrics
See gh-36507
This commit is contained in:
parent
33669909bd
commit
e67bca121b
@ -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());
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user