当前位置:网站首页>《实习报告》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;
边栏推荐
- [tutorial] how to make the Helpviewer help document of VisualStudio run independently
- [IDL] Research
- SUS系统可用性量表
- 【Unity3D】无法正确获取RectTransform的属性值导致计算出错
- Aiphacode is not a substitute for programmers, but a tool for developers
- Mongodb quickly get started with some simple operations of mongodb command line
- Postman -- use
- Retrofit's callback hell is really vulnerable in kotlin synergy mode!
- [unity3d] nested use layout group to make scroll view with dynamic sub object height
- SPSS做Shapiro-Wilk正态分析
猜你喜欢

Mock Server基本使用方法

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

Blender stone carving

Delivery mode design of Spartacus UI of SAP e-commerce cloud

Postman--使用

MYSQL环境配置

Network real-time video streaming based on OpenCV

Flink submitter

Considerations for Apache deploying static web page projects
![2.hacking-lab脚本关[详细writeup]](/img/f3/29745761cd5ad4df84c78ac904ea51.png)
2.hacking-lab脚本关[详细writeup]
随机推荐
Internet News: Tencent conference application market was officially launched; Soul went to Hong Kong to submit the listing application
4.随机变量
Leetcode -- the nearest common ancestor of 236 binary tree
07 data import sqoop
《MySQL 8 DBA基础教程》简介
Basic notes of illusory AI blueprint (10000 words)
02-taildir source
【leetcode】33. Search rotation sort array
Ctrip starts mixed office. How can small and medium-sized enterprises achieve mixed office?
Deep understanding of redis cache avalanche / cache breakdown / cache penetration
Message mechanism -- getting to know messages and message queues for the first time
Blender ocean production
对话吴纲:我为什么笃信“大国品牌”的崛起?
lunix重新分配root 和 home 空间内存
Introduction and Principle notes of UE4 material
拆解美图SaaS:开着飞机换引擎
Retrofit's callback hell is really vulnerable in kotlin synergy mode!
stm32和电机开发(上位系统)
使用Windbg静态分析dump文件(实战经验总结)
flume 190 INSTALL