文章目录
简介
一个APM(应用程序性能监控器)系统,专门为微服务,云原生和基于容器(Docker,Kubernetes,Mesos)的体系结构而设计。
SkyWalking是一个开源APM系统,包括对Cloud Native体系结构中的分布式系统的监视,跟踪,诊断功能。核心功能如下。
- 服务,服务实例,端点指标分析
- 根本原因分析。在运行时分析代码。
- 服务拓扑图分析
- 服务,服务实例和端点依赖关系分析
- 检测到慢速服务和端点
- 性能优化
- 分布式跟踪和上下文传播
- 数据库访问指标。检测慢速数据库访问语句(包括SQL语句)。
- 报警
SkyWalking支持从多种来源和多种格式收集遥测(跟踪和度量)数据,包括
- Java, .NET Core, NodeJS and PHP auto-instrument agents in SkyWalking format
- Go agent.
- LUA agent, especially for Nginx, OpenResty.
- Envoy gRPC Access Log Service (ALS) format in Istio controlled service mesh.
- Istio telemetry format.
- Envoy Metrics Service format.
- Zipkin v1/v2 format.
- Jaeger gRPC format.
支持代理列表
服务配置
SkyWalking后端分发程序包包括以下部分:
- bin/cmd scripts, in
/bin
folder. Includes startup linux shell and Windows cmd scripts for Backend server and UI startup. - Backend config, in
/config
folder. Includes settings files of the backend, which are:application.yml
log4j.xml
alarm-settings.yml
- Libraries of backend, in
/oap-libs
folder. All the dependencies of the backend are in it. - Webapp env, in
webapp
folder. UI frontend jar file is here, with itswebapp.yml
setting file.
环境要求和默认配置
Requirement: JDK8 to JDK12 are tested, other versions are not tested and may or may not work.
You can use bin/startup.sh
(or cmd) to startup the backend and UI with their default settings, which are:
- Backend storage uses H2 by default (for an easier start)
- Backend listens
0.0.0.0/11800
for gRPC APIs and0.0.0.0/12800
for http rest APIs.
In Java, .NetCore, Node.js, Istio agents/probe, you should set the gRPC service address to ip/host:11800
, with ip/host where your backend is.
- UI listens on
8080
port and request127.0.0.1/12800
to do GraphQL query.
[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-LExPbuTZ-1587390286017)(/Users/helei/Library/Appl