dubbo监控中心
1.配置:进入dubbo-monitor-simple-2.0.0\conf目录修改dubbo.properties文件
dubbo.registry.address=zookeeper://127.0.0.1:2181
2、监控中心配置
参考官网:https://dubbo.apache.org/zh/docs/v2.7/user/references/xml/
xml中配置:所有服务配置连接监控中心,进行监控统计
<!-- 监控中心协议,如果为protocol="registry",表示从注册中心发现监控中心地址,否则直连监控中心 -->
<dubbo:monitor protocol="registry"></dubbo:monitor>
<!--直连监控中心服务器地址-->
<!--<dubbo:monitor address="127.0.0.1:7070"></dubbo:monitor>-->