当前位置:网站首页>Skywalking installation and deployment practice
Skywalking installation and deployment practice
2022-06-24 00:35:00 【Enjoy】
Preface
There are many link tracing tools for microservices , Therefore, the advantages and disadvantages of each tool should be considered when selecting a model , Combined with business needs , Select the best tool .
Link tracking And The selection Zipkin、Pinpoint、SkyWalking、CAT contrast
skywalking The deployment of practice
Download decompression

edition :
apache-skywalking-apm-9.1.0.tar.gz
apache-skywalking-java-agent-8.11.0.tgz
After downloading, unzip and use
Configuration in microservices skywalking
rely on
<dependency>
<groupId>org.apache.skywalking</groupId>
<artifactId>apm-toolkit-logback-1.x</artifactId>
<version>8.11.0</version>
</dependency>
logback Log configuration
<appender name="grpc" class="org.apache.skywalking.apm.toolkit.log.logback.v1.x.log.GRPCLogClientAppender">
<encoder class="ch.qos.logback.core.encoder.LayoutWrappingEncoder">
<layout class="org.apache.skywalking.apm.toolkit.log.logback.v1.x.mdc.TraceIdMDCPatternLogbackLayout">
<Pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} [%X{tid}] [%thread] %-5level %logger{36} -%msg%n</Pattern>
</layout>
</encoder>
</appender>
<root level="INFO">
<appender-ref ref="grpc" />
</root>
IDEA Edit service , To configure JVM Parameters

add to JVM Parameters 
-javaagent:D:/work/skywalking/skywalking-agent/skywalking-agent.jar -Dskywalking.agent.service_name=your_service -Dskywalking.collector.backend_service=localhost:11800
Focus on :
Java agent jar Package path
Your service name ( It will show skywalkingUI)
The backend collects the collector address information of logs ( It's all together , Therefore, you can do without configuration )
The above configuration , Every service needs to add
Running microservices
function skywalking
Enter the downloaded and unzipped skywalking The directory bin Catalog 
Enter... In the directory path : cmd And return
In the command line that comes out, enter startup.bat And return
Simulation of the request
The following is the microservice interface I wrote http://localhost:9101/getUser/1
View after calling skywalking UI http://localhost:8080/general
View the call topology diagram 
View link tracking 
Set up skywalking Is stored as elasticsearch
download elasticsearch
Unzip and enter bin Directory operation elasticsearch file .
Use localhost:9200 Check to see if startup succeeded
If reality fails , Just go to config/jvm.options The startup memory will be set smaller in the file .
To configure skywalking
Edit the file apache-skywalking-apm-bin\config\application.yml
Modify the above three places , Note that ,namespace Test for the above figure elasticsearch Medium cluster_name Field
restart skywalking that will do .
边栏推荐
- [leetcode notes] no118 Yanghui triangle
- 【ICPR 2021】遥感图中的密集小目标检测:Tiny Object Detection in Aerial Images
- Do280openshift access control -- manage projects and accounts
- What is the use of AI technology in the medical field?
- 人工智能技术岗位面试要注意什么?
- Android 7,2021最新Android面试笔试题目分享
- 牛学长周年庆活动:软件大促限时抢,注册码免费送!
- skywalking 安装部署实践
- Security | warm tips: security incidents on the cloud have intensified recently. Please do a good job in backup monitoring of cloud security protection!
- Android Aidl: cross process call service (Aidl service), kotlininvoke function
猜你喜欢

Common core resource objects of kubernetes

Chinese guide to accompanist component library - glide, hot

kubernetes之常用核心资源对象

【CVPR 2022】高分辨率小目标检测:Cascaded Sparse Query for Accelerating High-Resolution Smal Object Detection

Synthetic big watermelon games wechat applet source code / wechat game applet source code

【小程序】实现双列商品效果

C语言:结构体数组实现找出最低分学生记录

Cloud native architecture (05) - Application Architecture Evolution

Kitten paw: FOC control 15-mras method of PMSM

国内首款开源MySQL HTAP数据库即将发布,三大看点提前告知 石原子科技重磅推出
随机推荐
【CVPR 2022】高分辨率小目标检测:Cascaded Sparse Query for Accelerating High-Resolution Smal Object Detection
[technology planting grass] on the "double 11" of this year, Tencent cloud lightweight servers will be collected in a fair manner
Delegation attack of Intranet penetration and lateral mobility
Usage of go in SQL Server
Go language core 36 lectures (go language practice and application 11) -- learning notes
paddle使用指南
钟珊珊:被爆锤后的工程师会起飞|OneFlow U
【数字信号】基于matlab模拟窗函数频谱细化【含Matlab源码 1906期】
Basic usage of setfacl command
Interview notes for Android outsourcing workers for 3 years. I still need to go to a large factory to learn and improve. As an Android programmer
苹果Iphone14搭载北斗导航系统,北斗VS GPS有哪些优势?
Save: software analysis, verification and test platform
==What is the difference between and equals?
Google Earth Engine(GEE)——NDVI、NDWI和NDBI用来进行增加分类精度的验证结果(随机森林和cart分类)
How much business do you need to know to do data analysis
【SPRS J P & RS 2022】小目标检测模块:A Normalized Gaussian Wasserstein Distance for Tiny Object Detection
【CVPR 2020】会议版本:A Physics-based Noise Formation Model for Extreme Low-light Raw Denoising
Social recruitment interview is indispensable -- 1000 interview questions for Android engineers from Internet companies
抓取开机logcat
Interview notes for Android outsourcing workers for 3 years. You still need to go to a large factory to learn and improve when you have the opportunity. Interview questions for Android Development Int