SkyWalking: Large-Scale Distributed Systems Tracing Infrastructure, 是一个对JAVA分布式应用程序集群的业务运行情况进行追踪、告警和分析的系统。
- 核心理论为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), 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.
- Provide trace log analysis and presentation capabilities, Reduce or avoid add-on functions development.
plugins | using config file | using dynamic byte code | coding | remarks |
---|---|---|---|---|
web-plugin | web.xml | - | - | - |
spring-plugin | spring config file | - | - | - |
tomcat8-plugin | - | YES | - | - |
dubbo-plugin | - | YES | - | - |
jdbc-plugin | - | YES | - | support mysql, oracle, h2, easily extend to support sybase, sqlserver, jtds, db2, informix |
httpClient-4.x-plugin | - | YES | - | - |
jedis-2.x-plugin | - | YES | - | - |
- 吴晟 wusheng [email protected]
- 张鑫 zhangxin
- 支持浏览器:Firefox/Chrome
- master用于迭代开发,需要稳定版本请参见Releases。1.0b的完整代码,请参见 1.0-beta-tag
- Developing of version 1.0-Final on branch Master. The source code of version 1.0-beta-tag
- JDK 1.7
- zookeeper 3.4.6
- apache hbase 1.1.2
- mysql
- tomcat 7
- redis-3.0.5
- 1.7以上版本 / support 1.7+
- 服务端发布版本下载 (.tar.gz)
- Download Server release version. Download (.tar.gz)
- 配置应用服务器
- config servers
- 如果您想自己编译最新版本,可参考《代码编译说明》
- Code compilation instructions
- 官方agent通过skywalking bintray官网托管,可使用公网仓库https://jcenter.bintray.com/下载。
- use public repository https://jcenter.bintray.com/ to download sdk
- 为应用程序添加启动参数
java -jar ... -javaagent:/..ospath../skywalking-agent-x.x-Final.jar
- 注册并登陆过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.
export SKYWALKING_RUN=true
- 设置完成后,SkyWalking将随应用启动运行
- After set env, SkyWalking will be working, when application startup.