This commit is contained in:
Stephane Nicoll 2021-09-16 14:12:23 +02:00
parent ce95e09308
commit 7957d97528
2 changed files with 2 additions and 2 deletions

View File

@ -115,7 +115,7 @@ public class StartupTimeMetrics implements SmartApplicationListener {
return;
}
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()));
}

View File

@ -661,7 +661,7 @@ The following system metrics are provided:
Auto-configuration exposes application startup time metrics:
* `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.