skywalking链路监控
1. 下载安装包官网地址:http://skywalking.apache.org/downloads/ 2. tar xzf apache-skywalking-apm-6.5.0.tar.gz -C /usr/local 3. 安装es 官网下载elasticsearch-6.3.1(安装配置参考ELK) 4. 修改skywalking配置 vim config/application.yml 注释h2,打开elasticsearch
修改webapp.yml
listOfServers: 192.168.20.32:12800
5. 配置agent vim agent/config/agent.config
在tomcat bin目录下的catalina.sh新增如下配置
CATALINA_OPTS="$CATALINA_OPTS -javaagent:/usr/local/agent/skywalking-agent.jar"; export CATALINA_OPTS
spring boot启动:java -javaagent:/usr/local/agent/skywalking-agent.jar -jar xxx.jar &
6. 启动skywalking ./bin/startup.sh
访问192.168.20.32:8080 默认账号密码:admin/admin