当前位置:网站首页>《实习报告》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;
边栏推荐
- "Matching" is true love, a new attitude for young people to make friends
- 07数据导入Sqoop
- 拆解美图SaaS:开着飞机换引擎
- 使用Windbg静态分析dump文件(实战经验总结)
- 合并有序数列
- [MySQL] an exception occurs when connecting to MySQL: connection must be valid and open
- ERROR 1118 (42000): Row size too large (> 8126)
- 互联网快讯:腾讯会议应用市场正式上线;Soul赴港递交上市申请书
- Determine whether there are duplicate elements in the array
- 【教程】如何让VisualStudio的HelpViewer帮助文档独立运行
猜你喜欢

Pytest-- test report allure configuration

使用Windbg静态分析dump文件(实战经验总结)

Leetcode -- the nearest common ancestor of 236 binary tree

13.信号量临界区保护

Internet News: Tencent conference application market was officially launched; Soul went to Hong Kong to submit the listing application

Flink calculates topn hot list in real time

Understand the composition of building energy-saving system

Mock Server基本使用方法

Solutions to a series of problems in sqoop job creation

2021-10-04
随机推荐
Allure -- common configuration items
Test -- Summary of interview questions
Deep understanding of redis cache avalanche / cache breakdown / cache penetration
Postman -- use
SQOOP 1.4.6 INSTALL
MPLS experiment
MySQL -- time zone / connector / driver type
拆解美图SaaS:开着飞机换引擎
Nonlinear optimization: steepest descent method, Newton method, Gauss Newton method, Levenberg Marquardt method
传输优化抽象
JS settimeout() and interview questions
判断数组中是否存在重复元素
SAP Spartacus express checkout design
Message mechanism -- getting to know messages and message queues for the first time
Pywin32打开指定窗口
Retrofit's callback hell is really vulnerable in kotlin synergy mode!
[jetbrain rider] an exception occurred in the construction project: the imported project "d:\visualstudio2017\ide\msbuild\15.0\bin\roslyn\microsoft.csh" was not found
MYSQL环境配置
Feature (5): how to organize information
Rapid prototyping