缓存执行器端点未显示

我正在为我的应用程序实现执行器和 Spring Boot Admin。当我向 /actuators 发送请求时,我得到除缓存之外的所有执行器点。


我尝试在 application.yaml 中打开/关闭缓存运行状况监控,但没有成功。


cache: 

     hazelcast:

       instance_name: hazelcast-cache

       health:

         monitoring:

           level: OFF


应用程序.yaml:


    web:

      exposure:

        include: "*"

构建.gradle:


compile group: 'de.codecentric', name: 'spring-boot-admin-starter-client', version: '2.0.6'```


尚方宝剑之说
浏览 70回答 1
1回答

森栏

问题是spring boot版本,我的项目是2.0.6。迁移到最新版本后,一切都在那里。
打开App,查看更多内容
随时随地看视频慕课网APP

相关分类

Java