Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
阿信在这里
SkyWalking
提交
57251852
S
SkyWalking
项目概览
阿信在这里
/
SkyWalking
与 Fork 源项目一致
Fork自
山不在高_有仙则灵 / SkyWalking
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
S
SkyWalking
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
57251852
编写于
2月 26, 2017
作者:
P
pengys5
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'feature/collector' of
https://github.com/wu-sheng/sky-walking
into feature/collector
上级
cf5c0a20
7ee0243b
变更
7
显示空白变更内容
内联
并排
Showing
7 changed file
with
120 addition
and
61 deletion
+120
-61
pom.xml
pom.xml
+107
-26
skywalking-commons/skywalking-trace/pom.xml
skywalking-commons/skywalking-trace/pom.xml
+2
-24
skywalking-commons/skywalking-trace/src/main/java/com/a/eye/skywalking/trace/LogData.java
...ace/src/main/java/com/a/eye/skywalking/trace/LogData.java
+3
-3
skywalking-commons/skywalking-trace/src/main/java/com/a/eye/skywalking/trace/Span.java
...-trace/src/main/java/com/a/eye/skywalking/trace/Span.java
+3
-3
skywalking-commons/skywalking-trace/src/main/java/com/a/eye/skywalking/trace/TraceSegment.java
...rc/main/java/com/a/eye/skywalking/trace/TraceSegment.java
+3
-3
skywalking-commons/skywalking-trace/src/main/java/com/a/eye/skywalking/trace/TraceSegmentRef.java
...main/java/com/a/eye/skywalking/trace/TraceSegmentRef.java
+1
-1
skywalking-commons/skywalking-trace/src/main/proto/trace.proto
...lking-commons/skywalking-trace/src/main/proto/trace.proto
+1
-1
未找到文件。
pom.xml
浏览文件 @
57251852
...
...
@@ -83,6 +83,87 @@
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<artifactId>
maven-compiler-plugin
</artifactId>
<configuration>
<source>
${compiler.version}
</source>
<target>
${compiler.version}
</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>
com.spotify
</groupId>
<artifactId>
docker-maven-plugin
</artifactId>
<version>
${docker.plugin.version}
</version>
<configuration>
<skipDocker>
true
</skipDocker>
</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>
<version>
2.4
</version>
</plugin>
<plugin>
<groupId>
org.codehaus.mojo
</groupId>
<artifactId>
versions-maven-plugin
</artifactId>
<version>
2.3
</version>
</plugin>
<plugin>
<groupId>
org.eluder.coveralls
</groupId>
<artifactId>
coveralls-maven-plugin
</artifactId>
<version>
4.1.0
</version>
<configuration>
<repoToken>
GGTAeHsfVql3x1BmTFaJvxC27f5sfcZNg
</repoToken>
<sourceDirectories>
<sourceDirectory>
${project.build.sourceDirectory}
</sourceDirectory>
</sourceDirectories>
</configuration>
</plugin>
<!-- 覆盖率 -->
<plugin>
<groupId>
org.codehaus.mojo
</groupId>
<artifactId>
cobertura-maven-plugin
</artifactId>
<version>
2.7
</version>
<configuration>
<check>
true
</check>
<encoding>
UTF-8
</encoding>
<aggregate>
true
</aggregate>
<formats>
<format>
xml
</format>
<format>
html
</format>
</formats>
<instrumentation>
<excludes>
<exclude>
com/a/eye/skywalking/trace/proto/*.class
</exclude>
</excludes>
</instrumentation>
</configuration>
</plugin>
</plugins>
</build>
>>>>>>> feature/3.0
<build>
<plugins>
<plugin>
...
...
skywalking-commons/skywalking-trace/pom.xml
浏览文件 @
57251852
...
...
@@ -39,35 +39,15 @@
</extension>
</extensions>
<plugins>
<plugin>
<groupId>
org.codehaus.mojo
</groupId>
<artifactId>
build-helper-maven-plugin
</artifactId>
<version>
3.0.0
</version>
<executions>
<execution>
<id>
add-source
</id>
<phase>
generate-sources
</phase>
<goals>
<goal>
add-source
</goal>
</goals>
<configuration>
<sources>
<source>
${basedir}/target/generated-sources/protobuf/java
</source>
</sources>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>
org.xolstice.maven.plugins
</groupId>
<artifactId>
protobuf-maven-plugin
</artifactId>
<version>
0.5.0
</version>
<configuration>
<protocArtifact>
com.google.protobuf:protoc:3.
1
.0:exe:${os.detected.classifier}
<protocArtifact>
com.google.protobuf:protoc:3.
0
.0:exe:${os.detected.classifier}
</protocArtifact>
<pluginId>
grpc-java
</pluginId>
<pluginArtifact>
io.grpc:protoc-gen-grpc-java:1.
1
.2:exe:${os.detected.classifier}
<pluginArtifact>
io.grpc:protoc-gen-grpc-java:1.
0
.2:exe:${os.detected.classifier}
</pluginArtifact>
</configuration>
<executions>
...
...
@@ -79,8 +59,6 @@
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
skywalking-commons/skywalking-trace/src/main/java/com/a/eye/skywalking/trace/LogData.java
浏览文件 @
57251852
...
...
@@ -2,8 +2,8 @@ package com.a.eye.skywalking.trace;
import
com.a.eye.skywalking.api.util.StringUtil
;
import
com.a.eye.skywalking.messages.ISerializable
;
import
com.a.eye.skywalking.trace.
messages.
proto.KeyValue
;
import
com.a.eye.skywalking.trace.
messages.
proto.LogDataMessage
;
import
com.a.eye.skywalking.trace.proto.KeyValue
;
import
com.a.eye.skywalking.trace.proto.LogDataMessage
;
import
java.util.Collections
;
import
java.util.HashMap
;
import
java.util.List
;
...
...
@@ -14,7 +14,7 @@ import java.util.Map;
*
* Created by wusheng on 2017/2/17.
*/
public
class
LogData
implements
ISerializable
<
LogDataMessage
>{
public
class
LogData
implements
ISerializable
<
LogDataMessage
>
{
private
long
time
;
private
Map
<
String
,
?>
fields
;
...
...
skywalking-commons/skywalking-trace/src/main/java/com/a/eye/skywalking/trace/Span.java
浏览文件 @
57251852
...
...
@@ -2,9 +2,9 @@ package com.a.eye.skywalking.trace;
import
com.a.eye.skywalking.api.util.StringUtil
;
import
com.a.eye.skywalking.messages.ISerializable
;
import
com.a.eye.skywalking.trace.
messages.
proto.KeyValue
;
import
com.a.eye.skywalking.trace.
messages.
proto.LogDataMessage
;
import
com.a.eye.skywalking.trace.
messages.
proto.SpanMessage
;
import
com.a.eye.skywalking.trace.proto.KeyValue
;
import
com.a.eye.skywalking.trace.proto.LogDataMessage
;
import
com.a.eye.skywalking.trace.proto.SpanMessage
;
import
java.io.ByteArrayOutputStream
;
import
java.io.IOException
;
import
java.util.ArrayList
;
...
...
skywalking-commons/skywalking-trace/src/main/java/com/a/eye/skywalking/trace/TraceSegment.java
浏览文件 @
57251852
package
com.a.eye.skywalking.trace
;
import
com.a.eye.skywalking.messages.ISerializable
;
import
com.a.eye.skywalking.trace.
messages.
proto.SegmentMessage
;
import
com.a.eye.skywalking.trace.
messages.
proto.SegmentRefMessage
;
import
com.a.eye.skywalking.trace.
messages.
proto.SpanMessage
;
import
com.a.eye.skywalking.trace.proto.SegmentMessage
;
import
com.a.eye.skywalking.trace.proto.SegmentRefMessage
;
import
com.a.eye.skywalking.trace.proto.SpanMessage
;
import
java.util.Collections
;
import
java.util.LinkedList
;
import
java.util.List
;
...
...
skywalking-commons/skywalking-trace/src/main/java/com/a/eye/skywalking/trace/TraceSegmentRef.java
浏览文件 @
57251852
package
com.a.eye.skywalking.trace
;
import
com.a.eye.skywalking.messages.ISerializable
;
import
com.a.eye.skywalking.trace.
messages.
proto.SegmentRefMessage
;
import
com.a.eye.skywalking.trace.proto.SegmentRefMessage
;
import
com.a.eye.skywalking.trace.tag.Tags
;
/**
...
...
skywalking-commons/skywalking-trace/src/main/proto/trace.proto
浏览文件 @
57251852
syntax
=
"proto3"
;
option
java_multiple_files
=
true
;
option
java_package
=
"com.a.eye.skywalking.trace.
messages.
proto"
;
option
java_package
=
"com.a.eye.skywalking.trace.proto"
;
message
SegmentMessage
{
string
traceSegmentId
=
1
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录