Skip to content

Commit

Permalink
Merge branch '2.7.x' into 3.0.x
Browse files Browse the repository at this point in the history
Closes gh-36515
  • Loading branch information
snicoll committed Jul 24, 2023
2 parents 521fb96 + abf2f8a commit 74349d1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -103,12 +103,12 @@ public void onApplicationEvent(ApplicationEvent event) {
}

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());
}

Expand Down

0 comments on commit 74349d1

Please sign in to comment.