PinPoint 安装部署

1、安装HBase并配置启动。

hbase-site.xml

<property>
    <name>hbase.rootdir</name>
    <value>file:/home/posp/lynn/pinpoint/hbase-1.0.3/data</value>
  </property>
  <property>
    <name>hbase.cluster.distributed</name>
    <value>true</value>
  </property>
  <property>
    <name>hbase.regionserver.handler.count</name>
    <value>20</value>
  </property>
  <property>
    <name>hbase.zookeeper.quorum</name>
    <value>192.168.11.11</value>
  </property>
  <property>
    <name>hbase.zookeeper.property.clientPort</name>
    <value>2181</value>
  </property>
  <property>
    <name>zookeeper.session.timeout</name>
    <value>200000</value>
  </property>
 

【./start-hbase.sh   启动,使用jps查看Hmaster 】

2、./hbase shell /data/hbase-create.hbase加载pinpoint配置

3、HbaseWeb: http://192.168.11.11:16010/master-status查看

4、tomcat部署pinpoint-collector

5、tomcat部署pinpoint-web,放到webapps下改名为ROOT

6、浏览器访问: http://192.168.11.11:22220/pinpoint-web-1.5.2查看

7、配置部署pinpoint-agent,修改pinpoint.config中ip和端口,以及配置服务类型,采样频率

profiler.applicationservertype=SPRING_BOOT

profiler.tomcat.conditional.transform=false

# 1 out of n transactions will be sampled where n is the rate. (20: 5%)

profiler.sampling.rate=1

8、spring boot启动命令:

nohup java -javaagent:/data/pinpoint/pp-agent/pinpoint-bootstrap-1.5.2.jar -Dpinpoint.agentId=test001 -Dpinpoint.applicationName=test001 -jar myAplication.jar &

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值