Skip to content

Commit

Permalink
提交1.0b的完整代码,用于版本发布。
Browse files Browse the repository at this point in the history
  • Loading branch information
wu-sheng committed May 28, 2016
1 parent b504fa0 commit 4e01d77
Show file tree
Hide file tree
Showing 49 changed files with 176 additions and 162 deletions.
2 changes: 1 addition & 1 deletion BUILD_DOC.md
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ $cd github/sky-walking/skywalking-analysis
$mvn package -Dmaven.test.skip=true
```

- 上传skywalking-analysis-1.0-RELEASE.jar. Upload the skywalking-analysis-1.0-RELEASE.jar
- 上传skywalking-analysis-1.0b.jar. Upload the skywalking-analysis-1.0b.jar
- 上传start-analysis.sh. Upload the start-analysis.sh
- 修改权限. Change mode start-analysis.sh
```
Expand Down
6 changes: 4 additions & 2 deletions HOW_TO_FIND_TID.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
## 通过扩展log4j或log4j2,在应用日志中,显示trace-id
### log4j
- 编译并发布skywalking-log/log4j-1.x-plugin
- 编译并发布skywalking-log/log4j-1.x-plugin,或通过公网仓库[https://dl.bintray.com/wu-sheng/skywalking](https://dl.bintray.com/wu-sheng/skywalking)下载。
[ ![Download](https://api.bintray.com/packages/wu-sheng/skywalking/com.ai.cloud.skywalking-log4j-1.x-plugin/images/download.svg) ](https://bintray.com/wu-sheng/skywalking/com.ai.cloud.skywalking-log4j-1.x-plugin/_latestVersion)
```xml
<dependency>
<groupId>com.ai.cloud</groupId>
Expand All @@ -16,7 +17,8 @@ log4j.appender.A1.layout.ConversionPattern=[%x] %-d{yyyy-MM-dd HH:mm:ss.SSS} %c
```

### log4j2
- 编译并发布skywalking-log/log4j-2.x-plugin
- 编译并发布skywalking-log/log4j-2.x-plugin,或通过公网仓库[https://dl.bintray.com/wu-sheng/skywalking](https://dl.bintray.com/wu-sheng/skywalking)下载。
[ ![Download](https://api.bintray.com/packages/wu-sheng/skywalking/com.ai.cloud.skywalking-log4j-2.x-plugin/images/download.svg) ](https://bintray.com/wu-sheng/skywalking/com.ai.cloud.skywalking-log4j-2.x-plugin/_latestVersion)
- 引用所需的日志插件
```xml
<dependency>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<groupId>com.ai.cloud</groupId>
<artifactId>skywalking</artifactId>
<version>1.0-RELEASE</version>
<version>1.0b</version>
<modules>
<module>samples/skywalking-auth</module>
<module>skywalking-protocol</module>
Expand Down
2 changes: 1 addition & 1 deletion samples/skywalking-auth/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>com.ai.cloud</groupId>
<artifactId>skywalking-auth</artifactId>
<version>1.0-RELEASE</version>
<version>1.0b</version>
<packaging>jar</packaging>

<name>skywalking-auth</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>com.ai.cloud</groupId>
<artifactId>skywalking-example-account-impl</artifactId>
<version>1.0-RELEASE</version>
<version>1.0b</version>

<name>skywalking-example-account-impl</name>
<url>http://maven.apache.org</url>
Expand Down Expand Up @@ -119,7 +119,7 @@
<dependency>
<groupId>com.ai.cloud</groupId>
<artifactId>skywalking-example-account-interfaces</artifactId>
<version>1.0-RELEASE</version>
<version>1.0b</version>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
Expand All @@ -137,12 +137,12 @@
<dependency>
<groupId>com.ai.cloud</groupId>
<artifactId>skywalking-spring-plugin</artifactId>
<version>1.0-RELEASE</version>
<version>1.0b</version>
</dependency>
<dependency>
<groupId>com.ai.cloud</groupId>
<artifactId>skywalking-dubbo-plugin</artifactId>
<version>1.0-RELEASE</version>
<version>1.0b</version>
</dependency>

<dependency>
Expand All @@ -153,14 +153,14 @@
<dependency>
<groupId>com.ai.cloud</groupId>
<artifactId>skywalking-jdbc-plugin</artifactId>
<version>1.0-RELEASE</version>
<version>1.0b</version>
</dependency>

<!-- -->
<dependency>
<groupId>com.ai.cloud</groupId>
<artifactId>skywalking-httpClient-4.2.x-plugin</artifactId>
<version>1.0-RELEASE</version>
<version>1.0b</version>
</dependency>
<dependency>
<groupId>org.aspectj</groupId>
Expand All @@ -170,12 +170,12 @@
<dependency>
<groupId>com.ai.cloud</groupId>
<artifactId>skywalking-log4j-1.x-plugin</artifactId>
<version>1.0-RELEASE</version>
<version>1.0b</version>
</dependency>
<dependency>
<groupId>com.ai.cloud</groupId>
<artifactId>skywalking-log4j-2.x-plugin</artifactId>
<version>1.0-RELEASE</version>
<version>1.0b</version>
</dependency>
</dependencies>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>com.ai.cloud</groupId>
<artifactId>skywalking-example-account-interfaces</artifactId>
<version>1.0-RELEASE</version>
<version>1.0b</version>

<name>skywalking-example-account-interfaces</name>
<url>http://maven.apache.org</url>
Expand Down
2 changes: 1 addition & 1 deletion samples/skywalking-example/account-application/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>com.ai.cloud</groupId>
<artifactId>skywalking-example-account</artifactId>
<version>1.0-RELEASE</version>
<version>1.0b</version>

<name>skywalking-example-account</name>
<url>http://maven.apache.org</url>
Expand Down
8 changes: 4 additions & 4 deletions samples/skywalking-example/mail-application/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>com.ai.cloud</groupId>
<artifactId>skywalking-example-mail</artifactId>
<version>1.0-RELEASE</version>
<version>1.0b</version>

<name>skywalking-example-mail</name>
<url>http://maven.apache.org</url>
Expand Down Expand Up @@ -44,7 +44,7 @@
<dependency>
<groupId>com.ai.cloud</groupId>
<artifactId>skywalking-web-plugin</artifactId>
<version>1.0-RELEASE</version>
<version>1.0b</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
Expand All @@ -59,7 +59,7 @@
<dependency>
<groupId>com.ai.cloud</groupId>
<artifactId>skywalking-spring-plugin</artifactId>
<version>1.0-RELEASE</version>
<version>1.0b</version>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
Expand All @@ -74,7 +74,7 @@
<dependency>
<groupId>com.ai.cloud</groupId>
<artifactId>skywalking-log4j-1.x-plugin</artifactId>
<version>1.0-RELEASE</version>
<version>1.0b</version>
</dependency>
</dependencies>

Expand Down
16 changes: 8 additions & 8 deletions samples/skywalking-example/order-application/order-impl/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>com.ai.cloud</groupId>
<artifactId>skywalking-example-order-impl</artifactId>
<version>1.0-RELEASE</version>
<version>1.0b</version>

<name>skywalking-example-order-impl</name>
<url>http://maven.apache.org</url>
Expand Down Expand Up @@ -91,13 +91,13 @@
<dependency>
<groupId>com.ai.cloud</groupId>
<artifactId>skywalking-example-order-interfaces</artifactId>
<version>1.0-RELEASE</version>
<version>1.0b</version>
</dependency>
<!-- resource dubbo interfaces -->
<dependency>
<groupId>com.ai.cloud</groupId>
<artifactId>skywalking-example-resource-interfaces</artifactId>
<version>1.0-RELEASE</version>
<version>1.0b</version>
</dependency>
<!-- mybatis -->
<dependency>
Expand All @@ -124,12 +124,12 @@
<dependency>
<groupId>com.ai.cloud</groupId>
<artifactId>skywalking-spring-plugin</artifactId>
<version>1.0-RELEASE</version>
<version>1.0b</version>
</dependency>
<dependency>
<groupId>com.ai.cloud</groupId>
<artifactId>skywalking-dubbo-plugin</artifactId>
<version>1.0-RELEASE</version>
<version>1.0b</version>
</dependency>
<dependency>
<groupId>mysql</groupId>
Expand All @@ -139,12 +139,12 @@
<dependency>
<groupId>com.ai.cloud</groupId>
<artifactId>skywalking-example-account-interfaces</artifactId>
<version>1.0-RELEASE</version>
<version>1.0b</version>
</dependency>
<dependency>
<groupId>com.ai.cloud</groupId>
<artifactId>skywalking-jdbc-plugin</artifactId>
<version>1.0-RELEASE</version>
<version>1.0b</version>
</dependency>
<dependency>
<groupId>org.aspectj</groupId>
Expand All @@ -154,7 +154,7 @@
<dependency>
<groupId>com.ai.cloud</groupId>
<artifactId>skywalking-log4j-1.x-plugin</artifactId>
<version>1.0-RELEASE</version>
<version>1.0b</version>
</dependency>
</dependencies>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>com.ai.cloud</groupId>
<artifactId>skywalking-example-order-interfaces</artifactId>
<version>1.0-RELEASE</version>
<version>1.0b</version>

<name>skywalking-example-order-interfaces</name>
<url>http://maven.apache.org</url>
Expand Down
2 changes: 1 addition & 1 deletion samples/skywalking-example/order-application/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>com.ai.cloud</groupId>
<artifactId>skywalking-example-order</artifactId>
<version>1.0-RELEASE</version>
<version>1.0b</version>

<name>skywalking-example-order</name>
<url>http://maven.apache.org</url>
Expand Down
2 changes: 1 addition & 1 deletion samples/skywalking-example/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>com.ai.cloud</groupId>
<artifactId>skywalking-example</artifactId>
<version>1.0-RELEASE</version>
<version>1.0b</version>

<modules>
<module>account-application</module>
Expand Down
2 changes: 1 addition & 1 deletion samples/skywalking-example/resources-application/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>com.ai.cloud</groupId>
<artifactId>skywalking-example-resources</artifactId>
<version>1.0-RELEASE</version>
<version>1.0b</version>

<modules>
<module>resource-impl</module>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>com.ai.cloud</groupId>
<artifactId>skywalking-example-resource-impl</artifactId>
<version>1.0-RELEASE</version>
<version>1.0b</version>

<name>skywalking-example-resource-impl</name>
<url>http://maven.apache.org</url>
Expand Down Expand Up @@ -83,24 +83,24 @@
<dependency>
<groupId>com.ai.cloud</groupId>
<artifactId>skywalking-example-resource-interfaces</artifactId>
<version>1.0-RELEASE</version>
<version>1.0b</version>
</dependency>

<!-- -->
<dependency>
<groupId>com.ai.cloud</groupId>
<artifactId>skywalking-spring-plugin</artifactId>
<version>1.0-RELEASE</version>
<version>1.0b</version>
</dependency>
<dependency>
<groupId>com.ai.cloud</groupId>
<artifactId>skywalking-dubbo-plugin</artifactId>
<version>1.0-RELEASE</version>
<version>1.0b</version>
</dependency>
<dependency>
<groupId>com.ai.cloud</groupId>
<artifactId>skywalking-jdbc-plugin</artifactId>
<version>1.0-RELEASE</version>
<version>1.0b</version>
</dependency>
<dependency>
<groupId>org.aspectj</groupId>
Expand All @@ -110,12 +110,12 @@
<dependency>
<groupId>com.ai.cloud</groupId>
<artifactId>skywalking-log4j-1.x-plugin</artifactId>
<version>1.0-RELEASE</version>
<version>1.0b</version>
</dependency>
<dependency>
<groupId>com.ai.cloud</groupId>
<artifactId>skywalking-log4j-2.x-plugin</artifactId>
<version>1.0-RELEASE</version>
<version>1.0b</version>
</dependency>
</dependencies>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>com.ai.cloud</groupId>
<artifactId>skywalking-example-resource-interfaces</artifactId>
<version>1.0-RELEASE</version>
<version>1.0b</version>

<name>skywalking-example-resource-interfaces</name>
<url>http://maven.apache.org</url>
Expand Down
12 changes: 6 additions & 6 deletions samples/skywalking-example/web-application/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>com.ai.cloud</groupId>
<artifactId>skywalking-example-web</artifactId>
<version>1.0-RELEASE</version>
<version>1.0b</version>

<name>skywalking-example-web</name>
<url>http://maven.apache.org</url>
Expand Down Expand Up @@ -76,25 +76,25 @@
<dependency>
<groupId>com.ai.cloud</groupId>
<artifactId>skywalking-web-plugin</artifactId>
<version>1.0-RELEASE</version>
<version>1.0b</version>
</dependency>
<!-- SkyWalking dubbo filter -->
<dependency>
<groupId>com.ai.cloud</groupId>
<artifactId>skywalking-dubbo-plugin</artifactId>
<version>1.0-RELEASE</version>
<version>1.0b</version>
</dependency>
<!-- SkyWalking spring plugin-->
<dependency>
<groupId>com.ai.cloud</groupId>
<artifactId>skywalking-spring-plugin</artifactId>
<version>1.0-RELEASE</version>
<version>1.0b</version>
</dependency>
<!--Save order Dubbo server -->
<dependency>
<groupId>com.ai.cloud</groupId>
<artifactId>skywalking-example-order-interfaces</artifactId>
<version>1.0-RELEASE</version>
<version>1.0b</version>
</dependency>
<dependency>
<groupId>org.aspectj</groupId>
Expand All @@ -104,7 +104,7 @@
<dependency>
<groupId>com.ai.cloud</groupId>
<artifactId>skywalking-log4j-1.x-plugin</artifactId>
<version>1.0-RELEASE</version>
<version>1.0b</version>
</dependency>
</dependencies>

Expand Down
2 changes: 1 addition & 1 deletion skywalking-alarm/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>com.ai.cloud</groupId>
<artifactId>skywalking-alarm</artifactId>
<version>1.0-RELEASE</version>
<version>1.0b</version>
<packaging>jar</packaging>

<name>skywalking-alarm</name>
Expand Down
2 changes: 1 addition & 1 deletion skywalking-analysis/bin/start-analysis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ END_TIME=`date --date='10 minute ago' "+%Y-%m-%d/%H:%M:%S"`
## execute command
echo "Begin to analysis the buried point data between ${START_TIME} to ${END_TIME}."
export HADOOP_CLASSPATH=`${HBASE_HOME}/bin/hbase classpath`
nohup ${HADOOP_HOME}/bin/hadoop jar skywalking-analysis-1.0-RELEASE.jar -Dskywalking.analysis.mode=${SW_ANALYSIS_MODE} ${START_TIME} ${END_TIME} > ${SW_RT_LOG_DIR}/map-reduce.log 2>&1 &
nohup ${HADOOP_HOME}/bin/hadoop jar skywalking-analysis-1.0b.jar -Dskywalking.analysis.mode=${SW_ANALYSIS_MODE} ${START_TIME} ${END_TIME} > ${SW_RT_LOG_DIR}/map-reduce.log 2>&1 &

CURRENT_PID=`echo $!`

Expand Down
Loading

0 comments on commit 4e01d77

Please sign in to comment.