Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
apache
SkyWalking
提交
53be072c
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 搜索 >>
提交
53be072c
编写于
7月 03, 2017
作者:
P
pengys5
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
change the grpc protocol
上级
d8e06b39
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
32 addition
and
7 deletion
+32
-7
apm-network/src/main/proto/ApplicationRegisterService.proto
apm-network/src/main/proto/ApplicationRegisterService.proto
+20
-0
apm-network/src/main/proto/DiscoveryService.proto
apm-network/src/main/proto/DiscoveryService.proto
+2
-2
apm-network/src/main/proto/KeyValue.proto
apm-network/src/main/proto/KeyValue.proto
+9
-0
apm-network/src/main/proto/TraceSegmentService.proto
apm-network/src/main/proto/TraceSegmentService.proto
+1
-5
未找到文件。
apm-network/src/main/proto/ApplicationRegisterService.proto
0 → 100644
浏览文件 @
53be072c
syntax
=
"proto3"
;
option
java_multiple_files
=
true
;
option
java_package
=
"org.skywalking.apm.network.trace.proto"
;
import
"KeyValue.proto"
;
//register service for ApplicationCode, this service is called when service starts.
service
ApplicationRegisterService
{
rpc
register
(
Application
)
returns
(
ApplicationMapping
)
{
}
}
message
Application
{
repeated
string
applicationCode
=
1
;
}
message
ApplicationMapping
{
repeated
KeyValue
application
=
1
;
}
\ No newline at end of file
apm-network/src/main/proto/DiscoveryService.proto
浏览文件 @
53be072c
...
...
@@ -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/KeyValue.proto
0 → 100644
浏览文件 @
53be072c
syntax
=
"proto3"
;
option
java_multiple_files
=
true
;
option
java_package
=
"org.skywalking.apm.network.collecor.proto"
;
message
KeyValue
{
string
key
=
1
;
string
value
=
2
;
}
apm-network/src/main/proto/TraceSegmentService.proto
浏览文件 @
53be072c
...
...
@@ -4,6 +4,7 @@ option java_multiple_files = true;
option
java_package
=
"org.skywalking.apm.network.trace.proto"
;
import
"Downstream.proto"
;
import
"KeyValue.proto"
;
service
TraceSegmentService
{
rpc
collect
(
stream
UpstreamSegment
)
returns
(
Downstream
)
{
...
...
@@ -65,11 +66,6 @@ enum SpanLayer {
MQ
=
3
;
}
message
KeyValue
{
string
key
=
1
;
string
value
=
2
;
}
message
LogMessage
{
int64
time
=
1
;
repeated
KeyValue
data
=
2
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录