打开sentinel控制台,没有监控到内容中心微服务
来源:8-4 Sentinel控制台

慕粉18810540934
2020-12-22
1.6.2版本的Sentinel,正常启动访问Sentinel/dashboard控制台,内容中心微服务加入sentinal依赖,配置加入sentinel配置,启动内容中心,查看sentinel控制台还是初始状态(空白),换了几个sentinel版本也是一样,没查到有出现这种现象的。
依赖:
org.springframework.cloud
spring-cloud-starter-alibaba-sentinel
配置:
spring:
cloud:
sentinel:
transport:
dashboard: localhost:8080
访问 http://localhost:8888/shares/1 ,调用用户中心微服务是正常的。
问题:
是没有开放访问端口或ip权限还是什么原因,请大目老师帮忙分析一下,谢谢。
写回答
2回答
-
大目
2020-12-23
对哈,sentinel是懒加载的,不过你帖子里不是说你访问了/shares/1了嘛~
00 -
大目
2020-12-23
从贴出来的代码来看,貌似没有问题。要不将代码托管到Gitee或者GitHub,我来看看吧。
012020-12-23
相似问题