pull/28064/head
Stephane Nicoll 3 years ago
parent ce95e09308
commit 7957d97528

@ -115,7 +115,7 @@ public class StartupTimeMetrics implements SmartApplicationListener {
return; return;
} }
registerGauge(this.applicationReadyTimeMetricName, registerGauge(this.applicationReadyTimeMetricName,
"Time taken (ms) for the application to be ready to serve requests", event.getReadyTime(), "Time taken (ms) for the application to be ready to service requests", event.getReadyTime(),
createTagsFrom(event.getSpringApplication())); createTagsFrom(event.getSpringApplication()));
} }

@ -661,7 +661,7 @@ The following system metrics are provided:
Auto-configuration exposes application startup time metrics: Auto-configuration exposes application startup time metrics:
* `application.started.time`: time taken to start the application. * `application.started.time`: time taken to start the application.
* `application.ready.time`: time taken for the application to be ready to serve requests. * `application.ready.time`: time taken for the application to be ready to service requests.
Metrics are tagged by the fully qualified name of the application class. Metrics are tagged by the fully qualified name of the application class.

Loading…
Cancel
Save