When using this metric in Grafana/Prometheus, it is a bit confusing, because as the screenshot below shows, it is application_started_time_seconds (ends with "seconds"), and the value is really measured in seconds, but the hint text say it is "ms" not "s".

I guess this is because micrometer is smart enough to convert ms to s, since spring already tells micrometer it is ms.

SpringBoot Descriptions of started and ready time metrics contain time units but the unit may change when the metrics are exported

Comment From: pivotal-cla

@fzyzcjy Please sign the Contributor License Agreement!

Click here to manually synchronize the status of this Pull Request.

See the FAQ for frequently asked questions.

Comment From: pivotal-cla

@fzyzcjy Thank you for signing the Contributor License Agreement!

Comment From: snicoll

@fzyzcjy good catch, thanks for making your first contribution to Spring Boot.