Sentinel configures feign remote call, and the cluster point link of nacos with sentinel does not display the get request of the remote call

The cluster point link of nacos with sentinel does not display the get request of the remote call.
Please add a picture description
It should be like this. Please add a picture description
Please add a picture description
This configuration prompt does not take effect

Tried many jar packages,Please add a picture description

Finally out of the pit...

  <!-- 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

Supongo que te gusta

Origin blog.csdn.net/weixin_42692989/article/details/128553365
Recomendado
Clasificación