在Sentinel控制台的簇点链路只显示/error和/**,无法显示相应的资源
Sentinel
alibaba/Sentinel: Sentinel 是阿里巴巴开源的一款面向分布式服务架构的流量控制、熔断降级组件,提供实时监控、限流、降级和系统保护功能,适用于微服务治理场景。
项目地址:https://gitcode.com/gh_mirrors/sentine/Sentinel

·
我们运行了我们的微服务,也访问了微服务的相应的接口,却是在Sentinel控制台的簇点链路显示不出运行接口的资源,只显示了/error和/**。
解决方法:Spring Cloud Alibaba 2.2.0.RELEASE版本的问题
只要将其改为2.2.5.RELEASE版本即可
<!-- nacos的管理依赖-->
<dependency>
<groupId>com.alibaba.cloud</groupId>
<artifactId>spring-cloud-alibaba-dependencies</artifactId>
<version>2.2.5.RELEASE</version>
<type>pom</type>
<scope>import</scope>
</dependency>
改后再重启服务,重新访问接口,回到Sentinel控制台的簇点链路就可以看到相应的资源名啦~




alibaba/Sentinel: Sentinel 是阿里巴巴开源的一款面向分布式服务架构的流量控制、熔断降级组件,提供实时监控、限流、降级和系统保护功能,适用于微服务治理场景。
最近提交(Master分支:25 天前 )
4a419818
* Improved Date formatter
* change in naming conv
* change in datetime format
* Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> 17 天前
d9398b4f
17 天前
更多推荐
所有评论(0)