pinpoint
作者:互联网
pinpoint
拉docker 镜像
官网:
https://hub.docker.com/r/pinpointdocker/pinpoint-web
https://hub.docker.com/r/pinpointdocker/pinpoint-hbase
https://hub.docker.com/r/pinpointdocker/pinpoint-collector
https://hub.docker.com/r/pinpointdocker/pinpoint-agent
https://hub.docker.com/r/pinpointdocker/pinpoint-quickstart
https://hub.docker.com/r/pinpointdocker/pinpoint-mysql
docker-github官网
https://github.com/naver/pinpoint-docker
拉取基础镜像
docker pull zookeeper:3.4
docker pull flink:1.3.1
docker pull pinpointdocker/pinpoint-web:2.1.0
docker pull pinpointdocker/pinpoint-collector:2.1.0
docker pull pinpointdocker/pinpoint-hbase:2.1.0
docker pull pinpointdocker/pinpoint-agent:2.1.0
docker pull pinpointdocker/pinpoint-mysql:2.1.0
docker pull pinpointdocker/pinpoint-quickstart:latest
保存镜像
docker save
zookeeper:3.4
flink:1.3.1
pinpointdocker/pinpoint-web
pinpointdocker/pinpoint-collector:2.1.0
pinpointdocker/pinpoint-hbase
pinpointdocker/pinpoint-agent:2.1.0
pinpointdocker/pinpoint-mysql:2.1.0
pinpointdocker/pinpoint-quickstart:latest
-o pinpoint2.1.0.tar
docker load -i pinpoint2.1.0.tar
注意8000、9997、8080、9994-9996、16010、6123、2181、2888、3888、8081、8079端口不能
被占用
安装pinpoint
安装pinpoint
unzip pinpoint-docker-2.1.0.zip
cd pinpoint-docker-2.1.0
运行镜像
docker-compose up -d
启动时间大概需要3-10分钟:
http://192.168.198.142:8079/
agent安装
https://github.com/naver/pinpoint/releases/download/v2.1.0/pinpoint-agent-
2.1.0.tar.gz
tar zxf pinpoint-agent-2.1.0.tar.gz
rm -rf pinpoint-agent-2.1.0.tar.gz
mv pinpoint-agent-2.1.0 pinpoint
修改pinpoint.config 文件
vi /data/pinpoint/profiles/release
改配置项 profiler.collector.ip=127.0.0.1 为你自己的Collector组件的IP(Pinpoint服务
器IP)
profiler.transport.grpc.collector.ip=192.168.198.142
profiler.collector.ip=192.168.198.142
集成pinpoint
java -javaagent:/data/pinpoint/pinpoint-bootstrap-2.1.0.jar -
Dpinpoint.agentId=jenkinsagent154-2 -Dpinpoint.applicationName=springbootdemo1 -jar skywalkingspringbootdemo1.jar
标签:pull,pinpoint,docker,pinpointdocker,com,2.1 来源: https://www.cnblogs.com/gxhh-lzh/p/15437040.html