PinPoint使用手册
前沿
官方网站: http://naver.github.io/pinpoint/
pinpoint四件套:
- HBase (for storage)
- Pinpoint Collector (deployed on a web container)
- Pinpoint Web (deployed on a web container)
- Pinpoint Agent (attached to a java application for profiling)
安装依赖一览
HBASE的JAVA依赖
Pinpoint Version | HBase 0.94.x | HBase 0.98.x | HBase 1.0.x | HBase 1.1.x | HBase 1.2.x |
---|---|---|---|---|---|
1.0.x | yes | no | no | no | no |
1.1.x | no | not tested | yes | not tested | not tested |
1.5.x | no | not tested | yes | not tested | not tested |
1.6.x | no | not tested | not tested | not tested | yes |
1.7.x | no | not tested | not tested | not tested | yes |
PinPoint的JAVA依赖
Pinpoint Version | Agent | Collector | Web |
---|---|---|---|
1.0.x | 6-8 | 6+ | 6+ |
1.1.x | 6-8 | 7+ | 7+ |
1.5.x | 6-8 | 7+ | 7+ |
1.6.x | 6-8 | 7+ | 7+ |
1.7.x | 6-8 | 8+ | 8+ |
Agent与Collector的依赖关系
Agent Version | Collector 1.0.x | Collector 1.1.x | Collector 1.5.x | Collector 1.6.x | Collector 1.7.x |
---|---|---|---|---|---|
1.0.x | yes | yes | yes | yes | yes |
1.1.x | not tested | yes | yes | yes | yes |
1.5.x | no | no | yes | yes | yes |
1.6.x | no | no | not tested | yes | yes |
1.7.x | no | no | no | no | yes |
安装
安装JAVA
略
HBase安装
首先下载hbase: http://www.apache.org/dyn/closer.cgi/hbase/
开始安装hbase: http://hbase.apache.org/book.html#_introduction
解压后直接执行``bin/start-hbase.sh``。
初始化``./bin/hbase shell /scripts/hbase-create.hbase``。脚本可以在这里下载:https://github.com/naver/pinpoint/tree/1.6.x/hbase/scripts。请注意链接中的版本号。
这里也可以使用压缩的方式初始化``hbase-create-snappy.hbase``。
PinPoint安装
> 这里使用发布的方式安装,也是官方推荐的方式。
下载:https://github.com/naver/pinpoint/releases/tag/1.7.2
安装Collector
将下载的``pinpoint-collector-$VERSION.war``部署到web容器中,例如tomcat。
Collector提供了两个配置文件:``pinpoint-collector.properties``和``hbase.properties``。配置文件位于部署目录的``WEB-INF/classes``。
pinpoint-collector.properties中基本配置:
collector.tcpListenPort
(agent’s profiler.collector.tcp.port - default: 9994)collector.udpStatListenPort
(agent’s profiler.collector.stat.port - default: 9995)collector.udpSpanListenPort
(agent’s profiler.collector.span.port - default: 9996)
hbase.properties中基本配置:
hbase.client.host
(default: localhost)hbase.client.port
(default: 2181)
安装Web
将下载的``pinpoint-collector-$VERSION.war``部署到web容器中,例如tomcat。
Web提供了两个配置文件``pinpoint-web.properties``和``hbase.properties``。配置文件位于部署目录的``WEB_INF/classes``。
hbase.properties基本配置:
hbase.client.host
(default: localhost)hbase.client.port
(default: 2181)
安装Agent
Pinpoint Agent runs as a java agent attached to an application to be profiled (such as Tomcat).
解压pinpoint-agent-1.7.2-SNAPSHOT.tar.gz。(主意,需要制定到一个目录下,否则可能是散的。推荐名:pinpoint-agent)。
如果你想改变输出的日志级别,可以修改``pinpoint-agent/lib/log4j.xml``文件。
应用程序埋点方式:
```
CATALINA_OPTS="$CATALINA_OPTS -javaagent:$AGENT_PATH/pinpoint-bootstrap-$VERSION.jar"
CATALINA_OPTS="$CATALINA_OPTS -Dpinpoint.agentId=$AGENT_ID"
CATALINA_OPTS="$CATALINA_OPTS -Dpinpoint.applicationName=$APPLICATION_NAME"
```
Agent提供了一个配置文件:$AGENT_PATH/pinpoint.config。
需要检查的基础配置:
profiler.collector.ip
(default: 127.0.0.1)profiler.collector.tcp.port
(collector’s collector.tcpListenPort - default: 9994)profiler.collector.stat.port
(collector’s collector.udpStatListenPort - default: 9995)profiler.collector.span.port
(collector’s collector.udpSpanListenPort - default: 9996)
总结
至此简单的pinpoint环境就搭建完毕了。可以访问web的服务来查看效果。
后续再分享集群、调优、通知等功能。
PinPoint使用手册相关推荐
- APM链路监控:PinPoint使用手册
文章目录 一.PinPoint简介 二.PinPoint架构组成 三.PinPoint使用说明 1.首页 2.请求调用栈 3.服务状态 4.链路事务筛选 结尾 一.PinPoint简介 pinpoin ...
- APM链路监控:pinpoint安装部署实战详细手册
文章目录 一.pinpoint介绍 1.pinpoint简介 2.架构组成 二.安装环境准备 三.HBase单机安装 四.pinpoint安装 1.安装pinpoint-collector 2.安装p ...
- 开源APM监控Pinpoint的快速部署和使用
版权声明:本文为博主原创文章,未经博主允许不得转载.欢迎访问我的博客 https://blog.csdn.net/smooth00 Pinpoint是用于大规模分布式系统的APM工具.它是在Dappe ...
- Pinpoint【环境搭建 01】JDK\HBase\Pinpoint Collector+Web 最新版 2.3.3 安装配置运行验证及脚本文件分享(避坑指南捷径指北)
本文主要是介绍 Pinpoint 环境的部署,小伙伴儿们也可以参考 Pinpoint <官网>的<快速入门>手册,最新版本v2.3.3组件可到官方<GitHub仓库> ...
- APM应用性能管理工具Pinpoint测评
2019独角兽企业重金招聘Python工程师标准>>> Pinpoint(应用程序性能管理)工具使用手册 Pinpoint是一个APM(应用程序性能管理)工具,适用于用Java / ...
- JSF客户端使用手册
说明 名词解释: 注册中心(Registry Server):提供服务信息的注册订阅,配置管理,配置下发等功能. 注册中心寻址服务(Index Server):简单的http的注册中心寻址. 注册中心 ...
- pinpoint设计思路
引言 编写本文档目的是说明pinpoint plugin如何开发. pinpoint总体设计介绍 总体架构 pinpoint整体架构设计如下(插件主要在右上部Host JVM): 插件工作流程 1. ...
- 分布式训练使用手册-paddle 数据并行
分布式训练使用手册¶ 分布式训练基本思想¶ 分布式深度学习训练通常分为两种并行化方法:数据并行,模型并行,参考下图: 在模型并行方式下,模型的层和参数将被分布在多个节点上,模型在一个mini-batc ...
- 正则语法完全正则表达式手册_语法格式重点
20211202 https://blog.csdn.net/lc11535/article/details/103266263 该表达式打开re.U(re.UNICODE)标志. python –& ...
最新文章
- 在文档中制作自动图表目录的经验
- OpenGL与OpenCV实现增强现实
- springboot使用EntityManager执行自定义SQL
- k8s extender_Windows Home Server的Drive Extender的9种选择
- react api_使用Java EE 8中的React式API加速服务
- GetWindowThreadProcessId
- 一加9R国行版即将到来:搭载骁龙870 售价预计3K内
- k8s 和 Docker 到底是什么关系?
- 宜家邮件系统正遭网络攻击
- DDL触发器与DML触发器比较
- 电脑指定区域旋转_随州平板电脑无线管道潜望镜QV厂家_武汉天仪仪器
- 开课吧:数据分析的价值体现在哪些方面?
- 本地差分隐私 随机响应_大数据时代下的隐私保护(二)
- Linux查找link文件,Linux下查找一个文件的所有软硬链接
- 电源系列3:DCDC BUCK降压电路原理
- vue学习日记(流水账
- 行业报告免费下载-干货!68份营销行业报告分享
- 图像卷积原理及运算方法
- 消息钩子使用教程(转)
- w ndows7启动项怎么关,(让Wndows7让系统“飞”起来二级精华.doc