提交1.0b的完整代码,用于版本发布。
This commit is contained in:
parent
b504fa012f
commit
4e01d77c2e
|
|
@ -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
|
||||
```
|
||||
|
|
|
|||
|
|
@ -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)下载。
|
||||
[  ](https://bintray.com/wu-sheng/skywalking/com.ai.cloud.skywalking-log4j-1.x-plugin/_latestVersion)
|
||||
```xml
|
||||
<dependency>
|
||||
<groupId>com.ai.cloud</groupId>
|
||||
|
|
@ -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)下载。
|
||||
[  ](https://bintray.com/wu-sheng/skywalking/com.ai.cloud.skywalking-log4j-2.x-plugin/_latestVersion)
|
||||
- 引用所需的日志插件
|
||||
```xml
|
||||
<dependency>
|
||||
|
|
|
|||
2
pom.xml
2
pom.xml
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
@ -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>
|
||||
|
|
@ -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>
|
||||
|
|
@ -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>
|
||||
|
|
@ -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>
|
||||
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
@ -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>
|
||||
|
|
@ -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>
|
||||
|
|
@ -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>
|
||||
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
@ -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>
|
||||
|
|
@ -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>
|
||||
|
|
@ -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>
|
||||
|
|
@ -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>
|
||||
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
@ -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>
|
||||
|
|
@ -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>
|
||||
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
@ -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>
|
||||
|
|
@ -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>
|
||||
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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 $!`
|
||||
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
<groupId>com.ai.cloud</groupId>
|
||||
<artifactId>skywalking-analysis</artifactId>
|
||||
<version>1.0-RELEASE</version>
|
||||
<version>1.0b</version>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<name>skywalking-analysis</name>
|
||||
|
|
@ -36,7 +36,7 @@
|
|||
<dependency>
|
||||
<groupId>com.ai.cloud</groupId>
|
||||
<artifactId>skywalking-protocol</artifactId>
|
||||
<version>1.0-RELEASE</version>
|
||||
<version>1.0b</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.google.code.gson</groupId>
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
<parent>
|
||||
<groupId>com.ai.cloud</groupId>
|
||||
<artifactId>skywalking</artifactId>
|
||||
<version>1.0-RELEASE</version>
|
||||
<version>1.0b</version>
|
||||
</parent>
|
||||
|
||||
|
||||
|
|
@ -28,7 +28,7 @@
|
|||
<dependency>
|
||||
<groupId>com.ai.cloud</groupId>
|
||||
<artifactId>skywalking-protocol</artifactId>
|
||||
<version>1.0-RELEASE</version>
|
||||
<version>1.0b</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ public class Constants {
|
|||
/**
|
||||
* 务必严格保持两位的version
|
||||
*/
|
||||
public static String SDK_VERSION = "1.0-RELEASE";
|
||||
public static String SDK_VERSION = "1.0b";
|
||||
|
||||
public static final String HEALTH_DATA_SPILT_PATTERN = "^~";
|
||||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
<parent>
|
||||
<artifactId>skywalking-log</artifactId>
|
||||
<groupId>com.ai.cloud</groupId>
|
||||
<version>1.0-RELEASE</version>
|
||||
<version>1.0b</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
|
|
@ -39,12 +39,12 @@
|
|||
<dependency>
|
||||
<groupId>com.ai.cloud</groupId>
|
||||
<artifactId>skywalking-log4j-2.x-plugin</artifactId>
|
||||
<version>1.0-RELEASE</version>
|
||||
<version>1.0b</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.ai.cloud</groupId>
|
||||
<artifactId>skywalking-log4j-1.x-plugin</artifactId>
|
||||
<version>1.0-RELEASE</version>
|
||||
<version>1.0b</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</project>
|
||||
|
|
|
|||
|
|
@ -1,77 +1,81 @@
|
|||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<parent>
|
||||
<artifactId>skywalking-log</artifactId>
|
||||
<groupId>com.ai.cloud</groupId>
|
||||
<version>1.0-RELEASE</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<parent>
|
||||
<artifactId>skywalking-log</artifactId>
|
||||
<groupId>com.ai.cloud</groupId>
|
||||
<version>1.0b</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<artifactId>skywalking-log4j-1.x-plugin</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<artifactId>skywalking-log4j-1.x-plugin</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<name>log4j-1.x-plugin</name>
|
||||
<url>http://maven.apache.org</url>
|
||||
<name>log4j-1.x-plugin</name>
|
||||
<url>http://maven.apache.org</url>
|
||||
|
||||
<properties>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
</properties>
|
||||
<properties>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>junit</groupId>
|
||||
<artifactId>junit</artifactId>
|
||||
<version>3.8.1</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>log4j</groupId>
|
||||
<artifactId>log4j</artifactId>
|
||||
<version>1.2.17</version>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.ai.cloud</groupId>
|
||||
<artifactId>skywalking-api</artifactId>
|
||||
<version>1.0-RELEASE</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<configuration>
|
||||
<source>1.7</source>
|
||||
<target>1.7</target>
|
||||
<encoding>${project.build.sourceEncoding}</encoding>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-resources-plugin</artifactId>
|
||||
<version>2.4.3</version>
|
||||
<configuration>
|
||||
<encoding>${project.build.sourceEncoding}</encoding>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-deploy-plugin</artifactId>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<!-- 源码插件 -->
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-source-plugin</artifactId>
|
||||
<!-- 发布时自动将源码同时发布的配置 -->
|
||||
<executions>
|
||||
<execution>
|
||||
<id>attach-sources</id>
|
||||
<goals>
|
||||
<goal>jar</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>junit</groupId>
|
||||
<artifactId>junit</artifactId>
|
||||
<version>3.8.1</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>log4j</groupId>
|
||||
<artifactId>log4j</artifactId>
|
||||
<version>1.2.17</version>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.ai.cloud</groupId>
|
||||
<artifactId>skywalking-api</artifactId>
|
||||
<version>1.0b</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<configuration>
|
||||
<source>1.7</source>
|
||||
<target>1.7</target>
|
||||
<encoding>${project.build.sourceEncoding}</encoding>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-resources-plugin</artifactId>
|
||||
<version>2.4.3</version>
|
||||
<configuration>
|
||||
<encoding>${project.build.sourceEncoding}</encoding>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<!-- 源码插件 -->
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-source-plugin</artifactId>
|
||||
<!-- 发布时自动将源码同时发布的配置 -->
|
||||
<executions>
|
||||
<execution>
|
||||
<id>attach-sources</id>
|
||||
<goals>
|
||||
<goal>jar</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
<distributionManagement>
|
||||
<repository>
|
||||
<id>bintray-wu-sheng-sky-walking-repository</id>
|
||||
<name>wu-sheng-sky-walking-repository</name>
|
||||
<url>https://api.bintray.com/maven/wu-sheng/skywalking/com.ai.cloud.skywalking-log4j-1.x-plugin/;publish=1</url>
|
||||
</repository>
|
||||
</distributionManagement>
|
||||
</project>
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
<parent>
|
||||
<artifactId>skywalking-log</artifactId>
|
||||
<groupId>com.ai.cloud</groupId>
|
||||
<version>1.0-RELEASE</version>
|
||||
<version>1.0b</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
|
|
@ -27,7 +27,7 @@
|
|||
<dependency>
|
||||
<groupId>com.ai.cloud</groupId>
|
||||
<artifactId>skywalking-api</artifactId>
|
||||
<version>1.0-RELEASE</version>
|
||||
<version>1.0b</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.logging.log4j</groupId>
|
||||
|
|
@ -73,4 +73,12 @@
|
|||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
<distributionManagement>
|
||||
<repository>
|
||||
<id>bintray-wu-sheng-sky-walking-repository</id>
|
||||
<name>wu-sheng-sky-walking-repository</name>
|
||||
<url>https://api.bintray.com/maven/wu-sheng/skywalking/com.ai.cloud.skywalking-log4j-2.x-plugin/;publish=1</url>
|
||||
</repository>
|
||||
</distributionManagement>
|
||||
</project>
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
<groupId>com.ai.cloud</groupId>
|
||||
<artifactId>skywalking-log</artifactId>
|
||||
<version>1.0-RELEASE</version>
|
||||
<version>1.0b</version>
|
||||
<modules>
|
||||
<module>log4j-1.x-plugin</module>
|
||||
<module>log4j-2.x-plugin</module>
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
<groupId>com.ai.cloud</groupId>
|
||||
<artifactId>skywalking-protocol</artifactId>
|
||||
<version>1.0-RELEASE</version>
|
||||
<version>1.0b</version>
|
||||
|
||||
<name>skywalking-protocol</name>
|
||||
<url>http://maven.apache.org</url>
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
<dependency>
|
||||
<groupId>com.ai.cloud</groupId>
|
||||
<artifactId>skywalking-dubbo-plugin</artifactId>
|
||||
<version>1.0-RELEASE</version>
|
||||
<version>{latest_version}</version>
|
||||
</dependency>
|
||||
```
|
||||
- 这里的dubbo,专指阿里发布的,已停止维护的标准dubbo版本([dubbo.io](http://dubbo.io/))。扩展版本dubbox请参考相关章节。
|
||||
|
|
@ -25,7 +25,7 @@
|
|||
<dependency>
|
||||
<groupId>com.ai.cloud</groupId>
|
||||
<artifactId>skywalking-dubbo-plugin</artifactId>
|
||||
<version>1.0-RELEASE</version>
|
||||
<version>{latest_version}</version>
|
||||
</dependency>
|
||||
```
|
||||
- dubbox 2.8.4 较为符合dubbo的服务规范,这里指dubbox支持RpcContext中的attachment。追踪方式和dubbo相同。
|
||||
|
|
@ -45,7 +45,7 @@
|
|||
<dependency>
|
||||
<groupId>com.ai.cloud</groupId>
|
||||
<artifactId>skywalking-dubbo-plugin</artifactId>
|
||||
<version>1.0-RELEASE</version>
|
||||
<version>{latest_version}</version>
|
||||
</dependency>
|
||||
```
|
||||
- 由于引入dubbox,主要目的是使用rest+json协议,所以以下方案都是在此种调用模式下的解决方案。其他协议未测试,请谅解,望大家提供测试结果与反馈。
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
<parent>
|
||||
<artifactId>skywalking-sdk-plugin</artifactId>
|
||||
<groupId>com.ai.cloud</groupId>
|
||||
<version>1.0-RELEASE</version>
|
||||
<version>1.0b</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
|
|
|
|||
|
|
@ -5,6 +5,6 @@
|
|||
<dependency>
|
||||
<groupId>com.ai.cloud</groupId>
|
||||
<artifactId>skywalking-httpClient-4.x-plugin-dubbox-rest-attachment</artifactId>
|
||||
<version>1.0-RELEASE</version>
|
||||
<version>{latest_version}</version>
|
||||
</dependency>
|
||||
```
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
<parent>
|
||||
<groupId>com.ai.cloud</groupId>
|
||||
<artifactId>skywalking-sdk-plugin</artifactId>
|
||||
<version>1.0-RELEASE</version>
|
||||
<version>1.0b</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>skywalking-httpClient-4.x-plugin-dubbox-rest-attachment</artifactId>
|
||||
|
|
@ -22,7 +22,7 @@
|
|||
<dependency>
|
||||
<groupId>com.ai.cloud</groupId>
|
||||
<artifactId>skywalking-httpClient-4.x-plugin</artifactId>
|
||||
<version>1.0-RELEASE</version>
|
||||
<version>1.0b</version>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
|
||||
|
|
|
|||
|
|
@ -4,6 +4,6 @@
|
|||
<dependency>
|
||||
<groupId>com.ai.cloud</groupId>
|
||||
<artifactId>skywalking-httpClient-4.x-plugin</artifactId>
|
||||
<version>1.0-RELEASE</version>
|
||||
<version>{latest_version}</version>
|
||||
</dependency>
|
||||
```
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
<parent>
|
||||
<groupId>com.ai.cloud</groupId>
|
||||
<artifactId>skywalking-sdk-plugin</artifactId>
|
||||
<version>1.0-RELEASE</version>
|
||||
<version>1.0b</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>skywalking-httpClient-4.x-plugin</artifactId>
|
||||
|
|
@ -23,7 +23,7 @@
|
|||
<dependency>
|
||||
<groupId>com.ai.cloud</groupId>
|
||||
<artifactId>skywalking-api</artifactId>
|
||||
<version>1.0-RELEASE</version>
|
||||
<version>1.0b</version>
|
||||
</dependency>
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
<dependency>
|
||||
<groupId>com.ai.cloud</groupId>
|
||||
<artifactId>skywalking-httpClient-4.2.x-plugin</artifactId>
|
||||
<version>1.0-RELEASE</version>
|
||||
<version>{latest_version}</version>
|
||||
</dependency>
|
||||
```
|
||||
- 使用SWTracingHttpClient封装所需的httpClient,此httpClient所有调用都会被监控
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
<parent>
|
||||
<artifactId>skywalking-sdk-plugin</artifactId>
|
||||
<groupId>com.ai.cloud</groupId>
|
||||
<version>1.0-RELEASE</version>
|
||||
<version>1.0b</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
<dependency>
|
||||
<groupId>com.ai.cloud</groupId>
|
||||
<artifactId>skywalking-httpClient-4.3.x-plugin</artifactId>
|
||||
<version>1.0-RELEASE</version>
|
||||
<version>{latest_version}</version>
|
||||
</dependency>
|
||||
```
|
||||
- 使用SWTracingCloseableHttpClient封装所需的httpClient,此httpClient所有调用都会被监控
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
<parent>
|
||||
<artifactId>skywalking-sdk-plugin</artifactId>
|
||||
<groupId>com.ai.cloud</groupId>
|
||||
<version>1.0-RELEASE</version>
|
||||
<version>1.0b</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
|
|
@ -27,7 +27,7 @@
|
|||
<dependency>
|
||||
<groupId>com.ai.cloud</groupId>
|
||||
<artifactId>skywalking-api</artifactId>
|
||||
<version>1.0-RELEASE</version>
|
||||
<version>1.0b</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.httpcomponents</groupId>
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
<dependency>
|
||||
<groupId>com.ai.cloud</groupId>
|
||||
<artifactId>skywalking-jdbc-plugin</artifactId>
|
||||
<version>1.0-RELEASE</version>
|
||||
<version>{latest_version}</version>
|
||||
</dependency>
|
||||
```
|
||||
- 设置特定的JDBC Driver
|
||||
|
|
@ -24,7 +24,7 @@ jdbc.url=tracing:jdbc:mysql://localhost:3306/test?useUnicode=true&characterEncod
|
|||
<dependency>
|
||||
<groupId>com.ai.cloud</groupId>
|
||||
<artifactId>skywalking-jdbc-plugin</artifactId>
|
||||
<version>1.0-RELEASE</version>
|
||||
<version>{latest_version}</version>
|
||||
</dependency>
|
||||
```
|
||||
- 轻松实现自定义的JDBC Driver扩展
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
<parent>
|
||||
<artifactId>skywalking-sdk-plugin</artifactId>
|
||||
<groupId>com.ai.cloud</groupId>
|
||||
<version>1.0-RELEASE</version>
|
||||
<version>1.0b</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
|
|
|
|||
|
|
@ -4,6 +4,6 @@
|
|||
<dependency>
|
||||
<groupId>com.ai.cloud</groupId>
|
||||
<artifactId>skywalking-jedis-2.x-plugin</artifactId>
|
||||
<version>1.0-RELEASE</version>
|
||||
<version>{latest_version}</version>
|
||||
</dependency>
|
||||
```
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
<parent>
|
||||
<groupId>com.ai.cloud</groupId>
|
||||
<artifactId>skywalking-sdk-plugin</artifactId>
|
||||
<version>1.0-RELEASE</version>
|
||||
<version>1.0b</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>skywalking-jedis-2.x-plugin</artifactId>
|
||||
|
|
@ -23,7 +23,7 @@
|
|||
<dependency>
|
||||
<groupId>com.ai.cloud</groupId>
|
||||
<artifactId>skywalking-api</artifactId>
|
||||
<version>1.0-RELEASE</version>
|
||||
<version>1.0b</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
<dependency>
|
||||
<groupId>com.ai.cloud</groupId>
|
||||
<artifactId>skywalking-mysql-plugin</artifactId>
|
||||
<version>1.0-RELEASE</version>
|
||||
<version>{latest_version}</version>
|
||||
</dependency>
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
<parent>
|
||||
<artifactId>skywalking-sdk-plugin</artifactId>
|
||||
<groupId>com.ai.cloud</groupId>
|
||||
<version>1.0-RELEASE</version>
|
||||
<version>1.0b</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
<groupId>com.ai.cloud</groupId>
|
||||
<artifactId>skywalking-sdk-plugin</artifactId>
|
||||
<version>1.0-RELEASE</version>
|
||||
<version>1.0b</version>
|
||||
<modules>
|
||||
<module>dubbo-plugin</module>
|
||||
<module>spring-plugin</module>
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
<dependency>
|
||||
<groupId>com.ai.cloud</groupId>
|
||||
<artifactId>skywalking-spring-plugin</artifactId>
|
||||
<version>1.0-RELEASE</version>
|
||||
<version>{latest_version}</version>
|
||||
</dependency>
|
||||
```
|
||||
- Spring配置文件头部,配置所需的命名空间
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
<parent>
|
||||
<artifactId>skywalking-sdk-plugin</artifactId>
|
||||
<groupId>com.ai.cloud</groupId>
|
||||
<version>1.0-RELEASE</version>
|
||||
<version>1.0b</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
<dependency>
|
||||
<groupId>com.ai.cloud</groupId>
|
||||
<artifactId>skywalking-web-plugin</artifactId>
|
||||
<version>1.0-RELEASE</version>
|
||||
<version>{latest_version}</version>
|
||||
</dependency>
|
||||
```
|
||||
- 服务端使用Filter追踪web请求
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
<parent>
|
||||
<artifactId>skywalking-sdk-plugin</artifactId>
|
||||
<groupId>com.ai.cloud</groupId>
|
||||
<version>1.0-RELEASE</version>
|
||||
<version>1.0b</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
<groupId>com.ai.cloud</groupId>
|
||||
<artifactId>skywalking-server</artifactId>
|
||||
<version>1.0-RELEASE</version>
|
||||
<version>1.0b</version>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<name>skywalking-server</name>
|
||||
|
|
@ -44,7 +44,7 @@
|
|||
<dependency>
|
||||
<groupId>com.ai.cloud</groupId>
|
||||
<artifactId>skywalking-protocol</artifactId>
|
||||
<version>1.0-RELEASE</version>
|
||||
<version>1.0b</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>redis.clients</groupId>
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>com.ai.cloud</groupId>
|
||||
<artifactId>skywalking-webui</artifactId>
|
||||
<version>1.0-RELEASE</version>
|
||||
<version>1.0b</version>
|
||||
<url>http://maven.apache.org</url>
|
||||
<packaging>war</packaging>
|
||||
|
||||
|
|
@ -37,7 +37,7 @@
|
|||
<dependency>
|
||||
<groupId>com.ai.cloud</groupId>
|
||||
<artifactId>skywalking-protocol</artifactId>
|
||||
<version>1.0-RELEASE</version>
|
||||
<version>1.0b</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
|
|
|
|||
Loading…
Reference in New Issue