http://ip:portl/cat/r/monitor?op=batch&batch= ${gro […more]
|
<console default-domain="Cat" show-cat-domain="true"> <remote-servers>10.1.1.1:8080,10.1.1.2:8080,10.1.1.3:8080</remote-servers> </console> |
remote-servers配置的是CAT集 […more]
服务器端初始化
|
CatServlet.init CatServlet.initComponents DefaultModuleInitializer.execute DefaultModuleInitializer.expandAll CatHomeModule.setup TcpSocketReceiver.init() CatClientModule.execute Cat.setContainer PlexusContainer.lookup(MessageManager.class); MessageManager.initialize TcpSocketSender.initialize PlexusContainer.lookup(MessageProducer.class); MessageProducer.constructor |
接受客户端采集的数据 [cr […more]
如果应用采集的数据比较多,将这些数据都发送给服务器端务必会给服务器端造成很大的压力,这时可以通过采样(也就是将 […more]
cat client的入口点是com.dianping.cat.Cat类,该类是单实例的, private s […more]