Spring boot 在Spring Boot 2中CacheStatisticsProvider发生了什么

Spring boot 在Spring Boot 2中CacheStatisticsProvider发生了什么,spring-boot,spring-boot-actuator,Spring Boot,Spring Boot Actuator,在Spring Boot 1.x中,我们使用了CacheStatisticsProvider(来自org.springframework.Boot.actuate.cache.CacheStatisticsProvider),以便通过Rest发布缓存的命中率 在Spring Boot 2中,CacheStatisticsProvider不再可用。 随着版本2.0.0.M4的发布,它被删除 在发行说明中没有提到任何内容,但我想移除与切换到测微计有关 如何使用Spring Boot 2实现上述功能?

在Spring Boot 1.x中,我们使用了
CacheStatisticsProvider
(来自org.springframework.Boot.actuate.cache.CacheStatisticsProvider),以便通过Rest发布缓存的命中率

在Spring Boot 2中,CacheStatisticsProvider不再可用。 随着版本
2.0.0.M4
的发布,它被删除

在发行说明中没有提到任何内容,但我想移除与切换到测微计有关


如何使用Spring Boot 2实现上述功能?

对我来说,这也是一个实际问题