我们运行了我们的微服务,也访问了微服务的相应的接口,却是在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控制台的簇点链路就可以看到相应的资源名啦~

GitHub 加速计划 / sentine / Sentinel
37
7
下载
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 天前
Logo

旨在为数千万中国开发者提供一个无缝且高效的云端环境,以支持学习、使用和贡献开源项目。

更多推荐