Dubbo Monitor Simple 监控中心

下载项目源码

https://github.com/apache/incubator-dubbo-admin/tree/master

进入 dubbo-monitor-simple 编译

mvn package

完成后会生成两个文件,选择压缩包的哪个并解压

启动(需先启动 zookeeper)

修改配置文件中的 zookeeper 地址(conf\dubbo.properties),然后运行 assembly.bin 目录下的 start.bat 启动

使用,在服务上配置上即可,自动发现或指定监控中心地址

<dubbo:monitor protocol="registry"></dubbo:monitor>
<!-- <dubbo:monitor address="127.0.0.1:7070"></dubbo:monitor> -->

查看

http://127.0.0.1:8080/


http://dubbo.apache.org/zh-cn/docs/user/references/xml/dubbo-monitor.html

猜你喜欢

转载自www.cnblogs.com/jhxxb/p/10802861.html
今日推荐