README.md 7.6 KB
Newer Older
wu-sheng's avatar
wu-sheng 已提交
1 2 3
Sky Walking
==========

wu-sheng's avatar
wu-sheng 已提交
4
<img src="http://wu-sheng.github.io/sky-walking/images/skywalking.png" alt="Sky Walking logo" height="90px" align="right" />
wu-sheng's avatar
wu-sheng 已提交
5

wu-sheng's avatar
wu-sheng 已提交
6
SkyWalking: Large-Scale Distributed Systems Tracing Infrastructure, also known Distributed Tracer。
wu-sheng's avatar
wu-sheng 已提交
7

wu-sheng's avatar
wu-sheng 已提交
8
[![Build Status](https://travis-ci.org/wu-sheng/sky-walking.svg?branch=master)](https://travis-ci.org/wu-sheng/sky-walking)
9
![license](https://img.shields.io/aur/license/yaourt.svg)
wu-sheng's avatar
wu-sheng 已提交
10 11
[![codebeat badge](https://codebeat.co/badges/579e4dce-1dc7-4f32-a163-c164eafa1335)](https://codebeat.co/projects/github-com-wu-sheng-sky-walking)
[![Join the chat at https://gitter.im/sky-walking/Lobby](https://badges.gitter.im/sky-walking/Lobby.svg)](https://gitter.im/sky-walking/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
wu-sheng's avatar
wu-sheng 已提交
12

wu-sheng's avatar
wu-sheng 已提交
13 14
[![Release Version](https://img.shields.io/badge/sky--walking-1.0--release-brightgreen.svg)](https://github.com/wu-sheng/sky-walking/releases)
[![Dev Version](https://img.shields.io/badge/sky--walking-2.0--indev-yellow.svg)](https://github.com/wu-sheng/sky-walking)
wu-sheng's avatar
wu-sheng 已提交
15

wu-sheng's avatar
wu-sheng 已提交
16 17
# Abstract
* An open source Large-Scale Distributed Systems Tracing Infrastructure, also known a ditributed tracer.
wu-sheng's avatar
wu-sheng 已提交
18
* Based on [Google Dapper Paper: Dapper, a Large-Scale Distributed Systems Tracing Infrastructure](http://research.google.com/pubs/pub36356.html), [read Simplified Chinese Version](http://duanple.blog.163.com/blog/static/70971767201329113141336/)
wu-sheng's avatar
wu-sheng 已提交
19
* Support popular rpc frameworks, such as [dubbo](https://github.com/alibaba/dubbo), [dubbox](https://github.com/dangdangdotcom/dubbox), [motan](https://github.com/weibocom/motan) etc., trigger email-alert when application occurs unexpected exception。
wu-sheng's avatar
wu-sheng 已提交
20 21 22
* Easy to deploy, **even in product mode** (since 2.0) . No need of Hadoop, HBase, or Cassandra Cluster.
* Pure Java server implements. provide gRPC (since 2.0)  and HTTP (since 2.1) cross-platform spans collecting service.

wu-sheng's avatar
wu-sheng 已提交
23

wu-sheng's avatar
wu-sheng 已提交
24
# Supported components
wu-sheng's avatar
wu-sheng 已提交
25 26 27 28 29 30 31 32 33 34 35 36 37 38
### web container
* Tomcat 7
* Tomcat 8

[![Tomcat 7 Test Docker](https://img.shields.io/badge/test--scenario-tomcat--7.0.73-brightgreen.svg)](https://hub.docker.com/r/skywalking/docker-tomcat-scenario/tags/)  [![Tomcat 8 Test Docker](https://img.shields.io/badge/test--scenario-tomcat--8.0.39-brightgreen.svg)](https://hub.docker.com/r/skywalking/docker-tomcat-scenario/tags/)


### database

* mysql
* oracle
* h2
* easily extend to support sybase, sqlserver, jtds, db2, informix

wu-sheng's avatar
wu-sheng 已提交
39 40
[![MySQL Test Docker](https://img.shields.io/badge/test--scenario-mysql--5.7-brightgreen.svg)](https://hub.docker.com/r/skywalking/docker-mysql-scenario/tags/)  <br/>
[![Oracle Test Docker](https://img.shields.io/badge/test--scenario-oracle--12.1.0.2-brightgreen.svg)](https://hub.docker.com/r/skywalking/docker-oracle-scenario/tags/)  <br/>
wu-sheng's avatar
wu-sheng 已提交
41
[![H2 Test Docker](https://img.shields.io/badge/test--scenario-h2--1.3.176-brightgreen.svg)](https://hub.docker.com/r/skywalking/docker-h2-scenario/tags/)
wu-sheng's avatar
wu-sheng 已提交
42 43 44 45 46 47 48 49


### rpc framework
* dubbo 
* dubbox 
* httpClient
* motan

wu-sheng's avatar
wu-sheng 已提交
50 51 52
[![Dubbo Test Docker](https://img.shields.io/badge/test--scenario-dubbo--2.5.3-brightgreen.svg)](https://hub.docker.com/r/skywalking/docker-dubbo-scenario/tags/)  <br/>
[![Dubbox Test Docker](https://img.shields.io/badge/test--scenario-dubbox--2.8.4.rpc-brightgreen.svg)](https://hub.docker.com/r/skywalking/docker-dubbox-scenario/tags/)  [![Dubbox Test Docker](https://img.shields.io/badge/test--scenario-dubbox--2.8.4.rest-brightgreen.svg)](https://hub.docker.com/r/skywalking/docker-dubbox-scenario/tags/)  <br/>
[![HttpClient Test Docker](https://img.shields.io/badge/test--scenario-httpclient--4.2-brightgreen.svg)](https://hub.docker.com/r/skywalking/docker-httpclient-scenario/tags/)  [![HttpClient Test Docker](https://img.shields.io/badge/test--scenario-httpclient--4.3-brightgreen.svg)](https://hub.docker.com/r/skywalking/docker-httpclient-scenario/tags/)  <br/>
wu-sheng's avatar
wu-sheng 已提交
53
[![Motan Test Docker](https://img.shields.io/badge/test--scenario-motan--0.2.1-brightgreen.svg)](https://hub.docker.com/r/skywalking/docker-motan-scenario/tags/)
wu-sheng's avatar
wu-sheng 已提交
54 55 56 57 58

### cache
* jedis

[![Jedis Test Docker](https://img.shields.io/badge/test--scenario-jedis--2.8.1-brightgreen.svg)](https://hub.docker.com/r/skywalking/docker-jedis-scenario/tags/)  
wu-sheng's avatar
wu-sheng 已提交
59

wu-sheng's avatar
wu-sheng 已提交
60
_All test scenarios base on Docker Tech._
wu-sheng's avatar
wu-sheng 已提交
61

wu-sheng's avatar
wu-sheng 已提交
62
# Contributors
63 64
* 吴晟 [wusheng](https://github.com/wu-sheng) &nbsp;&nbsp;wu.sheng@foxmail.com
* 张鑫 [zhangxin](https://github.com/ascrutae) &nbsp;&nbsp;
wu-sheng's avatar
wu-sheng 已提交
65

wu-sheng's avatar
wu-sheng 已提交
66 67 68 69 70 71 72 73

___

<a href="https://github.com/wu-sheng/sky-walking">
<img src="http://wu-sheng.github.io/sky-walking/sample-code/award/oneapm-award.png" alt="OneAPM Open Source Achievement Award" height="110px" align="left" />
</a>

In October 2016, Sky Walking won `OneAPM Open Source Achievement Award`. The award appreciates sky walking for its "*contribution to popularization of APM technology*". <br/>
wu-sheng's avatar
wu-sheng 已提交
74
[OneAPM](http://www.oneapm.com/) will provide financial support for the project in 2016-2017.<br/><br/> 
wu-sheng's avatar
wu-sheng 已提交
75 76 77
Thanks all users of sky walking project.
___

wu-sheng's avatar
wu-sheng 已提交
78
# Discussion
wu-sheng's avatar
wu-sheng 已提交
79
<img src="http://wu-sheng.github.io/sky-walking/sample-code/screenshoot/chatapp/toutiao.JPG" alt="Sky Walking TouTiao" height="280px" align="left" />
wu-sheng's avatar
wu-sheng 已提交
80
* Mail to:wu.sheng@foxmail.com
wu-sheng's avatar
wu-sheng 已提交
81 82 83
* QQ Group:392443393
* If you are using SkyWalking,[Report to us](https://github.com/wu-sheng/sky-walking/issues/34) please.
* **Developer Org of sky-walking** is https://github.com/skywalking-developer
wu-sheng's avatar
wu-sheng 已提交
84 85 86 87 88 89 90
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
wu-sheng's avatar
wu-sheng 已提交
91
<br/>
wu-sheng's avatar
wu-sheng 已提交
92

wu-sheng's avatar
wu-sheng 已提交
93
# Arch
wu-sheng's avatar
wu-sheng 已提交
94
![2.0 架构图](http://wu-sheng.github.io/sky-walking/sample-code/screenshoot/2.0-2016/SkyWalkingArch.jpg)
wu-sheng's avatar
wu-sheng 已提交
95

wu-sheng's avatar
wu-sheng 已提交
96 97
# Quick View
* distributed tracer
wu-sheng's avatar
wu-sheng 已提交
98
![追踪连路图1](http://wu-sheng.github.io/sky-walking/sample-code/screenshoot/1.0b/callChain.png)
wu-sheng's avatar
wu-sheng 已提交
99

wu-sheng's avatar
wu-sheng 已提交
100
![追踪连路图2](http://wu-sheng.github.io/sky-walking/sample-code/screenshoot/1.0b/callChainDetail.png)
wu-sheng's avatar
wu-sheng 已提交
101

wu-sheng's avatar
wu-sheng 已提交
102
![追踪连路图3](http://wu-sheng.github.io/sky-walking/sample-code/screenshoot/1.0b/callChainLog.png)
wu-sheng's avatar
wu-sheng 已提交
103 104

* alarm mail
wu-sheng's avatar
wu-sheng 已提交
105
![告警邮件](http://wu-sheng.github.io/sky-walking/sample-code/screenshoot/1.0b/alarmMail.png)
wu-sheng's avatar
wu-sheng 已提交
106

wu-sheng's avatar
wu-sheng 已提交
107

108
# v2.0-2016 Quick Start
109

wu-sheng's avatar
wu-sheng 已提交
110 111 112
## 1. Required of third party softwares
- JDK 1.6+ ( instruments applications can run in jdk6 )
- JDK 1.8 ( skywalking servers )
113 114 115 116
- zookeeper 3.4.6
- mysql
- redis-3.0.5

wu-sheng's avatar
wu-sheng 已提交
117
## 2. Download and deploy servers
wu-sheng's avatar
wu-sheng 已提交
118
- Download Server release version. [Download](https://github.com/wu-sheng/sky-walking/releases)  (.tar.gz)
wu-sheng's avatar
wu-sheng 已提交
119

wu-sheng's avatar
wu-sheng 已提交
120 121 122
### 2.1 Run all servers in a Docker
- Docker version include all-in-one servers.
- Suitable for quick-look or test env. High performance and Scalable are not your requirements.
wu-sheng's avatar
wu-sheng 已提交
123

wu-sheng's avatar
wu-sheng 已提交
124 125
### 2.2 Deploy your own cluster
- waiting for release.
wu-sheng's avatar
wu-sheng 已提交
126

wu-sheng's avatar
wu-sheng 已提交
127
## 3. Download agent
128
[ ![Download](https://api.bintray.com/packages/wu-sheng/skywalking/com.a.eye.skywalking-agent/images/download.svg) ](https://bintray.com/wu-sheng/skywalking/com.a.eye.skywalking-agent/_latestVersion)
wu-sheng's avatar
wu-sheng 已提交
129

wu-sheng's avatar
wu-sheng 已提交
130
## 4. Create users, applications and alarm rules in webui
wu-sheng's avatar
wu-sheng 已提交
131
- create user, remember your username.
wu-sheng's avatar
wu-sheng 已提交
132 133
- create applications under the user, remember your application code.
- create alarm rules for each applications.
wu-sheng's avatar
wu-sheng 已提交
134

wu-sheng's avatar
wu-sheng 已提交
135
## 4. Start application with -javaagent
wu-sheng's avatar
wu-sheng 已提交
136
```shell
wu-sheng's avatar
wu-sheng 已提交
137
java -jar ...  -javaagent:/..ospath../skywalking-agent-x.x.jar -Dusername=x -DapplicationCode=y -Dservers=192.168.1.16:3300,192.168.1.17:3300
wu-sheng's avatar
wu-sheng 已提交
138
```
139

wu-sheng's avatar
wu-sheng 已提交
140 141
## 5. Aha, your applications are being instrumented

142
# Recent RoadMap
wu-sheng's avatar
wu-sheng 已提交
143 144 145
* [In the schedule] v2.1-2017
	* release a version following OpenTracing.io
	* provide bridge mode lib to integrate data of system and tracer
wu-sheng's avatar
wu-sheng 已提交
146
	* provide English doc as default. Also provide Chinese version on Gitbook or Wiki
wu-sheng's avatar
wu-sheng 已提交
147 148
	* support log framework(log4j, log4j2, logback) to output traceid in system log.
	
149
* [Dev] v2.0-2016
150 151 152 153
	* not dependency on Hadoop or HBase, easy to deploy or maintenance
	* support simple-cluster mode
	* support docker mode in single-server-instance
	* support more plugins
wu-sheng's avatar
wu-sheng 已提交
154
		* motan rpc framework (provided)
155