Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
apache
SkyWalking
提交
e64d51ab
S
SkyWalking
项目概览
apache
/
SkyWalking
上一次同步 1 年多
通知
302
Star
21345
Fork
6091
代码
文件
提交
分支
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,体验更适合开发者的 AI 搜索 >>
提交
e64d51ab
编写于
7月 03, 2017
作者:
wu-sheng
提交者:
GitHub
7月 03, 2017
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #260 from wu-sheng/feature/254
change the grpc protocol
上级
6e4cabcb
5c7e3e67
变更
7
隐藏空白更改
内联
并排
Showing
7 changed file
with
33 addition
and
19 deletion
+33
-19
apm-network/src/main/proto/ApplicationRegisterService.proto
apm-network/src/main/proto/ApplicationRegisterService.proto
+6
-6
apm-network/src/main/proto/DiscoveryService.proto
apm-network/src/main/proto/DiscoveryService.proto
+3
-3
apm-network/src/main/proto/Downstream.proto
apm-network/src/main/proto/Downstream.proto
+1
-1
apm-network/src/main/proto/JVMMetricsService.proto
apm-network/src/main/proto/JVMMetricsService.proto
+1
-1
apm-network/src/main/proto/KeyWithIntegerValue.proto
apm-network/src/main/proto/KeyWithIntegerValue.proto
+9
-0
apm-network/src/main/proto/KeyWithStringValue.proto
apm-network/src/main/proto/KeyWithStringValue.proto
+9
-0
apm-network/src/main/proto/TraceSegmentService.proto
apm-network/src/main/proto/TraceSegmentService.proto
+4
-8
未找到文件。
apm-network/src/main/proto/RegisterService.proto
→
apm-network/src/main/proto/
Application
RegisterService.proto
浏览文件 @
e64d51ab
syntax
=
"proto3"
;
option
java_multiple_files
=
true
;
option
java_package
=
"org.skywalking.apm.network.trace.proto"
;
option
java_package
=
"org.skywalking.apm.network.proto"
;
import
"KeyWithIntegerValue.proto"
;
//register service for ApplicationCode, this service is called when service starts.
service
ApplicationRegisterService
{
...
...
@@ -10,11 +12,9 @@ service ApplicationRegisterService {
}
message
Application
{
string
applicationCode
=
1
;
repeated
string
applicationCode
=
1
;
}
message
ApplicationMapping
{
int32
applicationId
=
1
;
Application
application
=
2
;
}
repeated
KeyWithIntegerValue
application
=
1
;
}
\ No newline at end of file
apm-network/src/main/proto/DiscoveryService.proto
浏览文件 @
e64d51ab
syntax
=
"proto3"
;
option
java_multiple_files
=
true
;
option
java_package
=
"org.skywalking.apm.network.
trace.
proto"
;
option
java_package
=
"org.skywalking.apm.network.proto"
;
import
"Downstream.proto"
;
...
...
@@ -16,7 +16,7 @@ service InstanceDiscoveryService {
}
message
ApplicationInstance
{
string
applicationCode
=
1
;
int32
applicationId
=
1
;
}
message
ApplicationInstanceMapping
{
...
...
@@ -45,6 +45,6 @@ message ServiceNameMappingElement {
message
ServiceNameElement
{
string
serviceName
=
1
;
string
ApplicationCode
=
2
;
int32
applicationId
=
2
;
}
apm-network/src/main/proto/Downstream.proto
浏览文件 @
e64d51ab
syntax
=
"proto3"
;
option
java_multiple_files
=
true
;
option
java_package
=
"org.skywalking.apm.network.
collecor.
proto"
;
option
java_package
=
"org.skywalking.apm.network.proto"
;
// nothing down stream from collector yet.
message
Downstream
{
...
...
apm-network/src/main/proto/JVMMetricsService.proto
浏览文件 @
e64d51ab
option
java_multiple_files
=
true
;
option
java_package
=
"org.skywalking.apm.network.
trace.
proto"
;
option
java_package
=
"org.skywalking.apm.network.proto"
;
import
"Downstream.proto"
;
...
...
apm-network/src/main/proto/KeyWithIntegerValue.proto
0 → 100644
浏览文件 @
e64d51ab
syntax
=
"proto3"
;
option
java_multiple_files
=
true
;
option
java_package
=
"org.skywalking.apm.network.proto"
;
message
KeyWithIntegerValue
{
string
key
=
1
;
int32
value
=
2
;
}
apm-network/src/main/proto/KeyWithStringValue.proto
0 → 100644
浏览文件 @
e64d51ab
syntax
=
"proto3"
;
option
java_multiple_files
=
true
;
option
java_package
=
"org.skywalking.apm.network.proto"
;
message
KeyWithStringValue
{
string
key
=
1
;
string
value
=
2
;
}
apm-network/src/main/proto/TraceSegmentService.proto
浏览文件 @
e64d51ab
syntax
=
"proto3"
;
option
java_multiple_files
=
true
;
option
java_package
=
"org.skywalking.apm.network.
trace.
proto"
;
option
java_package
=
"org.skywalking.apm.network.proto"
;
import
"Downstream.proto"
;
import
"KeyWithStringValue.proto"
;
service
TraceSegmentService
{
rpc
collect
(
stream
UpstreamSegment
)
returns
(
Downstream
)
{
...
...
@@ -48,7 +49,7 @@ message SpanObject {
int32
componentId
=
11
;
string
component
=
12
;
bool
isError
=
13
;
repeated
KeyValue
tags
=
14
;
repeated
Key
WithString
Value
tags
=
14
;
repeated
LogMessage
logs
=
15
;
}
...
...
@@ -65,12 +66,7 @@ enum SpanLayer {
MQ
=
3
;
}
message
KeyValue
{
string
key
=
1
;
string
value
=
2
;
}
message
LogMessage
{
int64
time
=
1
;
repeated
KeyValue
data
=
2
;
repeated
Key
WithString
Value
data
=
2
;
}
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录