dubbo learning (nine) dubbo monitoring center

Installation and Configuration

Download: https: //github.com/apache/dubbo-admin/tree/master (including the management console and the monitoring center)

: PS   before downloading to choose the master before downloading (after the branch important !!! )

Installation can be more directly observed after the state of service, using the visual interface to management and maintenance services. (Optional installation)

1. Install

2. Configure monitoring center

 

 3. Configure provider.xml and consumer.xml

PS: respectively provider.xml and consumer.xml years are adding the following code before they can make producers and consumers are monitoring center to monitor and restart producers and consumers to view the configured

    <!--配置监控中心-->
    <!--写法1-->
    <dubbo:monitor protocol="registry"></dubbo:monitor>
    <!--写法2 端口号为刚才的dubbo.properties文件内配置的通信接口号-->
    <!--<dubbo:monitor address="127.0.0.1:7070"></dubbo:monitor>-->

4.启动监控中心并监测服务状态

 

Guess you like

Origin www.cnblogs.com/riches/p/11229040.html