下载
如果使用es7作为数据源,则应当下载apache-skywalking-apm-es7-8.3.0.tar.gz
打开官网
https://skywalking.apache.org/
获取下载页面的下载链接
F12选中 SkyWalking APM
的Distribution
随意复制一个下载地址
https://www.apache.org/dyn/closer.cgi/skywalking/8.3.0/apache-skywalking-apm-8.3.0.tar.gz
获取镜像地址
打开此地址,可以得到镜像列表地址
https://mirror.bit.edu.cn/apache/skywalking/
选择需要的版本
选中如下版本下载
下载地址
https://mirror.bit.edu.cn/apache/skywalking/8.3.0/apache-skywalking-apm-es7-8.3.0.tar.gz
配置
上传至linux服务器并解压
修改ui端口
18行
[devops@devops webapp]$ pwd
/home/devops/skywalking/skywalking/webapp
[devops@devops webapp]$ cat webapp.yml -n
1 # Licensed to the Apache Software Foundation (ASF) under one
2 # or more contributor license agreements. See the NOTICE file
3 # distributed with this work for additional information
4 # regarding copyright ownership. The ASF licenses this file
5 # to you under the Apache License, Version 2.0 (the
6 # "License"); you may not use this file except in compliance
7 # with the License. You may obtain a copy of the License at
8 #
9 # http://www.apache.org/licenses/LICENSE-2.0
10 #
11 # Unless required by applicable law or agreed to in writing, software
12 # distributed under the License is distributed on an "AS IS" BASIS,
13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 # See the License for the specific language governing permissions and
15 # limitations under the License.
16
17 server:
18 port: 8081
19
20 collector:
21 path: /graphql
22 ribbon:
23 ReadTimeout: 10000
24 # Point to all backend's restHost:restPort, split by ,
25 listOfServers: 127.0.0.1:12800
26
[devops@devops webapp]$
修改oap配置
config/application.yml
持久化选择elasticsearch7
修改skywalking在es中的索引
可参考如下文档
https://help.aliyun.com/document_detail/161783.html
spring boot 使用 skywalking
本地加压 skywalking,启动参数配置如下
-javaagent:D:/program/elk/skywalking/skywalking/agent/skywalking-agent.jar
-Dskywalking.agent.service_name=km-boot
-Dskywalking.collector.backend_service=192.168.107.130:11800
此时即可通过ui界面查询