当前位置:网站首页>《实习报告》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. Random variables
![[visual studio] every time you open a script of unity3d, a new vs2017 will be automatically reopened](/img/c3/aec0a9fb79cf94b3575d95530aa8e8.png)
[visual studio] every time you open a script of unity3d, a new vs2017 will be automatically reopened

测试--面试题总结

Stm32 et développement de moteurs (système supérieur)

Use WinDbg to statically analyze dump files (summary of practical experience)

Session cookies and tokens

Ctrip starts mixed office. How can small and medium-sized enterprises achieve mixed office?

Basic notes of illusory AI blueprint (10000 words)

Solutions to a series of problems in sqoop job creation

Blender体积雾
随机推荐
从MediaRecord录像中读取H264参数
Mongodb quickly get started with some simple operations of mongodb command line
pytest框架实现前后置
2021-09-12
01-spooldir
Zlib download and use
[visual studio] every time you open a script of unity3d, a new vs2017 will be automatically reopened
pytest--之测试报告allure配置
Blender体积雾
【Unity3D】制作进度条——让Image同时具有Filled和Sliced的功能
大华设备播放过程中设置播放速度
Aiphacode is not a substitute for programmers, but a tool for developers
allure--常用配置项
简洁、快速、节约内存的Excel处理工具EasyExcel
Post disaster reconstruction -- Floyd thought
两数之和,求目标值
SQOOP 1.4.6 INSTALL
Edge computing accelerates live video scenes: clearer, smoother, and more real-time
Mock Server基本使用方法
高考的意义是什么