pinpoint本地開發——collector

本地啓動collector

啓動前準備

啓動以前,要先確保本地已經能夠正常package,installhtml

 

必須保證install成功,才能進行後續步驟,沒法install或者package參考[pinpoint相關資料]tomcat

 

啓動步驟

  1. 進入mavenProject視圖 ——> 展開pinpoint-collector

     

  2. 展開plugins——> tomcat7 

     

     右鍵 create

 

保存app

 

第一個按鈕正常啓動、第二個按鈕是debug模式啓動maven

重要配置文件

resources/hbase.properties:hbase鏈接相關配置(本地默認鏈接測試環境)tcp

resources/pinpoint-collector.properties:collector工程相關配置測試

collector.tcpListenIp:收集器的IP地址,本地開發可使用默認的0.0.0.0,或者127.0.0.1均可以spa

collector.udpSpanListenIp:debug

collector.udpStatListenIp日誌

resources-local/log4j.xml:本地打包日誌級別配置(默認是debug)xml

resources-release/log4j.xml:線上打包日誌級別配置

補充一點

在window環境下啓動,可能會有坑,詳見下面解決方案:

http://www.cnblogs.com/zq-inlook/p/4386216.html

相關文章
相關標籤/搜索