springboot262 中适配metrics-core哪个版本
在Spring Boot 2.6.2中,默认适配的metrics-core版本是4.2.0。这是根据Spring Boot的依赖管理来确定的。您可以在您的项目中引入以下依赖来使用metrics-core:
<dependency>
<groupId>io.micrometer</groupId>
<artifactId>micrometer-core</artifactId>
<version>1.8.0</version>
</dependency>
请注意,这只是micrometer-core的版本,适配于metrics-core的版本是由Spring Boot进行管理的。
原文地址: https://www.cveoy.top/t/topic/h4yE 著作权归作者所有。请勿转载和采集!