当前位置:网站首页>《实习报告》Skywalking分布式链路追踪?
《实习报告》Skywalking分布式链路追踪?
2022-07-02 06:59:00 【是阿杜呀】
实习内容概览
Skywalking分布式链路追踪:
什么是skywaling 分布式链路追踪? 分布式链路追踪是指分布式应用系统的性能监视工具,专为微服务架构,云原生架构和基于容器 (K8S ,docker )架构而设计。
Skywaling 提供分布式追踪,服务网格遥测分析,度量聚合和可视化一体化解决方案
Skywaling 整体架构分析:
在这个图中,整体架构分为大致四个部分:
1.上部分agent :负责从应用中,收集链路信息,发送给skywaling OAP服务器。
2、下部分 SkyWalking OAP :负责接收Agent发送的Tracing数据信息,然后进行分析(Analysis Core),存储到外部存储器(Storage),最终提供查询(Query)功能;
3、右部分Storage:Tracing数据存储,目前支持ES、MySQL、Sharding Sphere、TiDB、H2多种存储器,目前采用较多的是ES,主要考虑是SkyWalking开发团队自己的生产环境采用ES为主;
4、左部分SkyWalking UI:负责提供控台,查看链路等等;
SkyWalking 环境搭建部署(图片来自于网络)
首先我们下载该软件包,开始搭建一个建一个 SkyWalking OAP 和SkyWalking UI服务;启动一个Spring Boot应用,并配置SkyWalking Agent;数据存储暂时先使用它默认的H2数据库存储,后续我们再使用其他存储;
SkyWalking中三个概念
服务(Service) :表示对请求提供相同行为的一系列或一组工作负载,在使用Agent时,可以定义服务的名字,我们可以看到 Spring Boot 应用服务为 "11-springboot",就是我们在环境变量 SW_AGENT_NAME 中所定义的;
服务实例(Service Instance) :上述的一组工作负载中的每一个工作负载称为一个实例, 一个服务实例实际就是操作系统上的一个真实进程;
这里我们可以看到 Spring Boot 应用的服务为 {agent_name}-pid:{pid}@{hostname},由 Agent 自动生成;
端点(Endpoint) :对于特定服务所接收的请求路径, 如HTTP的URI路径和gRPC服务的类名 + 方法签名;
我们可以看到 Spring Boot 应用的一个端点,为API接口 /index;
边栏推荐
- 【虚幻4】从U3D到UE4的转型之路
- [unity3d] nested use layout group to make scroll view with dynamic sub object height
- SQOOP 1.4.6 INSTALL
- 01-spooldir
- allure--常用配置项
- "Matching" is true love, a new attitude for young people to make friends
- 快速做出原型
- Webui automated learning
- [pit avoidance guide] pit encountered by unity3d project when accessing Tencent bugly tool
- [unity3d] cannot correctly obtain the attribute value of recttransform, resulting in calculation error
猜你喜欢
随机推荐
2021-09-12
What are the popular frameworks for swoole in 2022?
ERROR 1118 (42000): Row size too large (> 8126)
Unreal material editor foundation - how to connect a basic material
Pywin32打开指定窗口
Introduction and Principle notes of UE4 material
Pytest framework implements pre post
Sus system availability scale
[Lua] summary of common knowledge points (including common interview sites)
axis设备的rtsp setup头中的url不能带参
js promise.all
Delivery mode design of Spartacus UI of SAP e-commerce cloud
The nanny level tutorial of flutter environment configuration makes the doctor green to the end
[tutorial] how to make the Helpviewer help document of VisualStudio run independently
Windows环境MySQL8忘记密码文件解决方案
13. Semaphore critical zone protection
两数之和,求目标值
Pytest learning --base
Session cookies and tokens
"Talking about podcasts" vol.352 the age of children: breaking the inner scroll, what can we do before high school?