Go to file
wusheng a8bfd9d17f 提供最新文档版本的TAG链接 2016-04-03 13:59:19 +08:00
ci-dependencies 修复dubbo-plugin插件ci中的问题。 2016-03-19 23:11:12 +08:00
samples 消除部分影响本地编译的问题。感谢 @hongliangpan 提出的建议。相应的pull request #40将被直接关闭。 2016-03-30 17:22:07 +08:00
skywalking-alarm no message 2016-03-18 23:28:54 +08:00
skywalking-analysis Revert "Revert "Merge remote-tracking branch 'origin/1.0-beta-analysis-webui-future'"" 2016-04-03 10:26:52 +08:00
skywalking-api no message 2016-03-22 20:56:23 +08:00
skywalking-log 消除部分影响本地编译的问题。感谢 @hongliangpan 提出的建议。相应的pull request #40将被直接关闭。 2016-03-30 17:22:07 +08:00
skywalking-protocol Revert "Revert "Merge remote-tracking branch 'origin/1.0-beta-analysis-webui-future'"" 2016-04-03 10:26:52 +08:00
skywalking-sdk-plugin 修复一个说明的问题。 2016-03-24 14:39:30 +08:00
skywalking-server 修改部分文档说明。 2016-03-24 11:13:14 +08:00
skywalking-webui Revert "Revert "Merge remote-tracking branch 'origin/1.0-beta-analysis-webui-future'"" 2016-04-03 10:26:52 +08:00
.gitignore 补充提交 2016-03-19 23:12:39 +08:00
.travis.yml 依然暂时移除testcase 2016-03-22 20:59:42 +08:00
BUILD_DOC.md no message 2016-04-03 10:33:28 +08:00
HOW_TO_FIND_TID.md 修改文档说明,附上部分英文翻译 2016-03-26 16:23:01 +08:00
LICENSE Initial commit 2015-11-07 11:30:37 +08:00
README.md 提供最新文档版本的TAG链接 2016-04-03 13:59:19 +08:00
pom.xml 消除部分影响本地编译的问题。感谢 @hongliangpan 提出的建议。相应的pull request #40将被直接关闭。 2016-03-30 17:22:07 +08:00

README.md

Sky Walking

Sky Walking logo

SkyWalking: Large-Scale Distributed Systems Tracing Infrastructure, 是一个对JAVA分布式应用程序集群的业务运行情况进行追踪、告警和分析的系统。

Build Status

Latest stable Version, 1.0-beta-pre

  • 核心理论为Google Dapper论文Dapper, a Large-Scale Distributed Systems Tracing Infrastructure,英语有困难的同学可参考国内翻译
  • 本分析系统能通过不修改或少量修改代码的模式对现有的JAVA应用或J2EE应用进行监控和数据收集并针对应用进场进行准实时告警。此外提供大量的调用性能分析功能解决目前的监控系统主要监控进程、端口而非应用实际性能的问题。
  • 支持国内常用的dubbo以及dubbox等常见RPC框架支持应用异常的邮件告警
  • skywalking-sdk层面提供的埋点API同步阻塞访问时间小于100μs
  • 通过byte-buddy部分插件将通过动态字节码机制避免代码侵入性完成监控。动态代码模式埋点同步阻塞访问时间应在200-300μs
  • SkyWalking is an open source Large-Scale Distributed Systems Tracing Infrastructure, also been known as APM(Application Performance Management) tool. SkyWalking provides a solution to help monitor and analysis a Large-Scale Distributed Systems.
  • SkyWalking supports popular rpc frameworks, such as dubbo, dubbox, etc., supports email-alert when application occurs unexpected exception。
  • SkyWalking's basic API, execution time of blocking saving span must less than 100μs.
  • By using byte-buddy (Thanks to raphw), some plugins use dynamic byte code generation to avoid invasive codes. plugins API, execution time of blocking saving span must between 200μs and 300μs, including execution time of dynamic byte code.
plugins using config file using dynamic byte code coding remarks
web-plugin web.xml - - -
dubbo-plugin dubbo/dubbox config file - - -
spring-plugin spring config file - - -
jdbc-plugin jdbc config file - - -
mysql-plugin - YES - -
httpClient-4.x-plugin - YES - -
httpClient-4.x-plugin-dubbox-rest-attachment - YES - required client-4.x-plugin
jedis-2.x-plugin - YES - -
httpclient-4.2.x-plugin - - YES 需要使用新提供的httpClient包装对象
httpclient-4.3.x-plugin - - YES 需要使用新提供的httpClient包装对象
  • 删除插件为最新版本不推荐使用的插件

新版本能力规划

  • 提供一定的日志数据分析和展现能力,减少或者避免使用团队的二次开发

主要贡献者

交流

  • 联系邮箱wu.sheng@foxmail.com
  • QQ群392443393请注明“Sky Walking交流”
  • 谁在使用Sky Walking?点击进入。同时请各位使用者反馈下,都在哪些项目中使用。
  • if you are using SkyWalkingReport to us please.

整体架构图

整体架构图

典型页面展现 / Typical UI show

实时调用链路

  • 实时链路追踪展现 追踪连路图1
  • 实时链路追踪详细信息查看 追踪连路图2
  • 实时链路追踪日志查看 追踪连路图3
  • 实时链路异常告警邮件 告警邮件

分析汇总

Quick Start

编译与部署 / Build and deploy

引入核心SDK / Import SDK

  • 无论试用哪种插件,都必须引入
  • add dependencies to pom.xml
<!-- API日志输出客户端可指定所需的log4j2版本 -->
<!-- 2.4.1为开发过程所选用版本 -->
<dependency>
    <groupId>org.apache.logging.log4j</groupId>
    <artifactId>log4j-core</artifactId>
    <version>2.4.1</version>
</dependency>
<!-- 监控api可监控插件不支持的调用 -->
<dependency>
    <groupId>com.ai.cloud</groupId>
    <artifactId>skywalking-api</artifactId>
    <version>1.0-SNAPSHOT</version>
</dependency>

使用全新的main class。原main class以及参数作为参数传入

  • using new main class, instead of the original main class.
#原进程启动命令:
#original starup command
java com.company.product.Startup arg0 arg1

#全新的进程启动命令:
#new starup command
java com.ai.cloud.skywalking.plugin.TracingBootstrap com.company.product.Startup arg0 arg1

根据所需插件,配置应用程序 / Config application

  • 参考《SDK Guides
  • 注意插件不会引用所需的第三方组件如Spring、dubbo、dubbox等请自行引入所需的版本。

下载并设置授权文件 / Download auth file

  • 注册并登陆过skywalking-webui创建应用。一个用户代表一个逻辑集群一个应用代表一个服务集群。如前后端应用应该设置两个应用但归属一个用户
  • Sign up and login in skywalking-webui. Create application as needed.
  • 下载授权文件并在运行时环境中将授权文件加入到CLASSPATH或LIB中
  • download auth file(*.jar), and add the jar file to the CLASSPATH or lib.

在运行时环境中设置环境变量 / set environment variables

export SKYWALKING_RUN=true
  • 设置完成后SkyWalking将随应用启动运行
  • After set env, SkyWalking will be working, when application startup.

在应用程序中显示traceid / How to find tid

源代码说明