Sentinel配置feign远程调用,nacos配sentinel的簇点链路不显示远程调用那个get请求

nacos配sentinel的簇点链路不显示远程调用那个get请求
请添加图片描述
应该是这样的请添加图片描述
请添加图片描述
这个配置提示不生效

试了很多jar包,请添加图片描述

最后出坑…

  <!-- https://mvnrepository.com/artifact/com.alibaba.cloud/spring-cloud-starter-alibaba-sentinel -->
        <dependency>
            <groupId>com.alibaba.cloud</groupId>
            <artifactId>spring-cloud-starter-alibaba-sentinel</artifactId>
            <version>2.1.4.RELEASE</version>
        </dependency>




        <dependency>
            <groupId>org.springframework.cloud</groupId>
            <artifactId>spring-cloud-starter-openfeign</artifactId>
        </dependency>
        ```

application.properties

server.port=8060
spring.application.name=nacos-consumer
spring.cloud.nacos.discovery.server-addr=192.168.0.84:8848
myName=nacos


# 指定dashboard地址
spring.cloud.sentinel.transport.dashboard=192.168.0.84:8858
# 启动该服务,会在应用程序的相应服务器上启动HTTP Server,并且该服务器将与Sentinel dashboard进行交互
spring.cloud.sentinel.transport.port=8719
#开启sentinel监控功能
feign.sentinel.enabled=true

猜你喜欢

转载自blog.csdn.net/weixin_42692989/article/details/128553365