Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
山不在高_有仙则灵
SkyWalking
提交
3b3a20e2
S
SkyWalking
项目概览
山不在高_有仙则灵
/
SkyWalking
与 Fork 源项目一致
Fork自
apache / SkyWalking
通知
12
Star
0
Fork
2
代码
文件
提交
分支
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 搜索 >>
提交
3b3a20e2
编写于
2月 23, 2018
作者:
wu-sheng
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Add submodule links for protocol
上级
c8b2110d
变更
11
隐藏空白更改
内联
并排
Showing
11 changed file
with
4 addition
and
293 deletion
+4
-293
.gitmodules
.gitmodules
+3
-0
apm-protocol/apm-network/src/main/proto
apm-protocol/apm-network/src/main/proto
+1
-0
apm-protocol/apm-network/src/main/proto/ApplicationRegisterService.proto
...m-network/src/main/proto/ApplicationRegisterService.proto
+0
-20
apm-protocol/apm-network/src/main/proto/Common.proto
apm-protocol/apm-network/src/main/proto/Common.proto
+0
-10
apm-protocol/apm-network/src/main/proto/DiscoveryService.proto
...rotocol/apm-network/src/main/proto/DiscoveryService.proto
+0
-72
apm-protocol/apm-network/src/main/proto/Downstream.proto
apm-protocol/apm-network/src/main/proto/Downstream.proto
+0
-8
apm-protocol/apm-network/src/main/proto/JVMMetricsService.proto
...otocol/apm-network/src/main/proto/JVMMetricsService.proto
+0
-64
apm-protocol/apm-network/src/main/proto/KeyWithIntegerValue.proto
...ocol/apm-network/src/main/proto/KeyWithIntegerValue.proto
+0
-9
apm-protocol/apm-network/src/main/proto/KeyWithStringValue.proto
...tocol/apm-network/src/main/proto/KeyWithStringValue.proto
+0
-9
apm-protocol/apm-network/src/main/proto/NetworkAddressRegisterService.proto
...etwork/src/main/proto/NetworkAddressRegisterService.proto
+0
-19
apm-protocol/apm-network/src/main/proto/TraceSegmentService.proto
...ocol/apm-network/src/main/proto/TraceSegmentService.proto
+0
-82
未找到文件。
.gitmodules
浏览文件 @
3b3a20e2
[submodule "skywalking-ui"]
path = skywalking-ui
url = https://github.com/apache/incubator-skywalking-ui
[submodule "apm-protocol/apm-network/src/main/proto"]
path = apm-protocol/apm-network/src/main/proto
url = https://github.com/apache/incubator-skywalking-data-collect-protocol.git
proto
@
86bfe4f6
Subproject commit 86bfe4f6635a8f71abca2383f54565b621ed3f94
apm-protocol/apm-network/src/main/proto/ApplicationRegisterService.proto
已删除
100644 → 0
浏览文件 @
c8b2110d
syntax
=
"proto3"
;
option
java_multiple_files
=
true
;
option
java_package
=
"org.apache.skywalking.apm.network.proto"
;
import
"KeyWithIntegerValue.proto"
;
//register service for ApplicationCode, this service is called when service starts.
service
ApplicationRegisterService
{
rpc
applicationCodeRegister
(
Application
)
returns
(
ApplicationMapping
)
{
}
}
message
Application
{
string
applicationCode
=
1
;
}
message
ApplicationMapping
{
KeyWithIntegerValue
application
=
1
;
}
apm-protocol/apm-network/src/main/proto/Common.proto
已删除
100644 → 0
浏览文件 @
c8b2110d
syntax
=
"proto3"
;
option
java_multiple_files
=
true
;
option
java_package
=
"org.apache.skywalking.apm.network.proto"
;
enum
SpanType
{
Entry
=
0
;
Exit
=
1
;
Local
=
2
;
}
\ No newline at end of file
apm-protocol/apm-network/src/main/proto/DiscoveryService.proto
已删除
100644 → 0
浏览文件 @
c8b2110d
syntax
=
"proto3"
;
option
java_multiple_files
=
true
;
option
java_package
=
"org.apache.skywalking.apm.network.proto"
;
import
"Common.proto"
;
import
"Downstream.proto"
;
service
InstanceDiscoveryService
{
rpc
registerInstance
(
ApplicationInstance
)
returns
(
ApplicationInstanceMapping
)
{
}
rpc
heartbeat
(
ApplicationInstanceHeartbeat
)
returns
(
Downstream
)
{
}
}
message
ApplicationInstance
{
int32
applicationId
=
1
;
string
agentUUID
=
2
;
int64
registerTime
=
3
;
OSInfo
osinfo
=
4
;
}
message
ApplicationInstanceMapping
{
int32
applicationId
=
1
;
int32
applicationInstanceId
=
2
;
}
message
ApplicationInstanceRecover
{
int32
applicationId
=
1
;
int32
applicationInstanceId
=
2
;
int64
registerTime
=
3
;
OSInfo
osinfo
=
4
;
}
message
ApplicationInstanceHeartbeat
{
int32
applicationInstanceId
=
1
;
int64
heartbeatTime
=
2
;
}
message
OSInfo
{
string
osName
=
1
;
string
hostname
=
2
;
int32
processNo
=
3
;
repeated
string
ipv4s
=
4
;
}
//discovery service for ServiceName by Network address or application code
service
ServiceNameDiscoveryService
{
rpc
discovery
(
ServiceNameCollection
)
returns
(
ServiceNameMappingCollection
)
{
}
}
message
ServiceNameCollection
{
repeated
ServiceNameElement
elements
=
1
;
}
message
ServiceNameMappingCollection
{
repeated
ServiceNameMappingElement
elements
=
1
;
}
message
ServiceNameMappingElement
{
int32
serviceId
=
1
;
ServiceNameElement
element
=
2
;
}
message
ServiceNameElement
{
string
serviceName
=
1
;
int32
applicationId
=
2
;
SpanType
srcSpanType
=
3
;
}
apm-protocol/apm-network/src/main/proto/Downstream.proto
已删除
100644 → 0
浏览文件 @
c8b2110d
syntax
=
"proto3"
;
option
java_multiple_files
=
true
;
option
java_package
=
"org.apache.skywalking.apm.network.proto"
;
// nothing down stream from collector yet.
message
Downstream
{
}
apm-protocol/apm-network/src/main/proto/JVMMetricsService.proto
已删除
100644 → 0
浏览文件 @
c8b2110d
syntax
=
"proto3"
;
option
java_multiple_files
=
true
;
option
java_package
=
"org.apache.skywalking.apm.network.proto"
;
import
"Downstream.proto"
;
service
JVMMetricsService
{
rpc
collect
(
JVMMetrics
)
returns
(
Downstream
)
{
}
}
message
JVMMetrics
{
repeated
JVMMetric
metrics
=
1
;
int32
applicationInstanceId
=
2
;
}
message
JVMMetric
{
int64
time
=
1
;
CPU
cpu
=
2
;
repeated
Memory
memory
=
3
;
repeated
MemoryPool
memoryPool
=
4
;
repeated
GC
gc
=
5
;
}
message
CPU
{
double
usagePercent
=
2
;
}
message
Memory
{
bool
isHeap
=
1
;
int64
init
=
2
;
int64
max
=
3
;
int64
used
=
4
;
int64
committed
=
5
;
}
message
MemoryPool
{
PoolType
type
=
1
;
int64
init
=
2
;
int64
max
=
3
;
int64
used
=
4
;
int64
commited
=
5
;
}
enum
PoolType
{
CODE_CACHE_USAGE
=
0
;
NEWGEN_USAGE
=
1
;
OLDGEN_USAGE
=
2
;
SURVIVOR_USAGE
=
3
;
PERMGEN_USAGE
=
4
;
METASPACE_USAGE
=
5
;
}
message
GC
{
GCPhrase
phrase
=
1
;
int64
count
=
2
;
int64
time
=
3
;
}
enum
GCPhrase
{
NEW
=
0
;
OLD
=
1
;
}
apm-protocol/apm-network/src/main/proto/KeyWithIntegerValue.proto
已删除
100644 → 0
浏览文件 @
c8b2110d
syntax
=
"proto3"
;
option
java_multiple_files
=
true
;
option
java_package
=
"org.apache.skywalking.apm.network.proto"
;
message
KeyWithIntegerValue
{
string
key
=
1
;
int32
value
=
2
;
}
apm-protocol/apm-network/src/main/proto/KeyWithStringValue.proto
已删除
100644 → 0
浏览文件 @
c8b2110d
syntax
=
"proto3"
;
option
java_multiple_files
=
true
;
option
java_package
=
"org.apache.skywalking.apm.network.proto"
;
message
KeyWithStringValue
{
string
key
=
1
;
string
value
=
2
;
}
apm-protocol/apm-network/src/main/proto/NetworkAddressRegisterService.proto
已删除
100644 → 0
浏览文件 @
c8b2110d
syntax
=
"proto3"
;
option
java_multiple_files
=
true
;
option
java_package
=
"org.apache.skywalking.apm.network.proto"
;
import
"KeyWithIntegerValue.proto"
;
service
NetworkAddressRegisterService
{
rpc
batchRegister
(
NetworkAddresses
)
returns
(
NetworkAddressMappings
)
{
}
}
message
NetworkAddresses
{
repeated
string
addresses
=
1
;
}
message
NetworkAddressMappings
{
repeated
KeyWithIntegerValue
addressIds
=
1
;
}
apm-protocol/apm-network/src/main/proto/TraceSegmentService.proto
已删除
100644 → 0
浏览文件 @
c8b2110d
syntax
=
"proto3"
;
option
java_multiple_files
=
true
;
option
java_package
=
"org.apache.skywalking.apm.network.proto"
;
import
"Common.proto"
;
import
"Downstream.proto"
;
import
"KeyWithStringValue.proto"
;
service
TraceSegmentService
{
rpc
collect
(
stream
UpstreamSegment
)
returns
(
Downstream
)
{
}
}
message
UpstreamSegment
{
repeated
UniqueId
globalTraceIds
=
1
;
bytes
segment
=
2
;
// the byte array of TraceSegmentObject
}
message
UniqueId
{
repeated
int64
idParts
=
1
;
}
message
TraceSegmentObject
{
UniqueId
traceSegmentId
=
1
;
repeated
SpanObject
spans
=
2
;
int32
applicationId
=
3
;
int32
applicationInstanceId
=
4
;
bool
isSizeLimited
=
5
;
}
message
TraceSegmentReference
{
RefType
refType
=
1
;
UniqueId
parentTraceSegmentId
=
2
;
int32
parentSpanId
=
3
;
int32
parentApplicationInstanceId
=
4
;
string
networkAddress
=
5
;
int32
networkAddressId
=
6
;
int32
entryApplicationInstanceId
=
7
;
string
entryServiceName
=
8
;
int32
entryServiceId
=
9
;
string
parentServiceName
=
10
;
int32
parentServiceId
=
11
;
}
message
SpanObject
{
int32
spanId
=
1
;
int32
parentSpanId
=
2
;
int64
startTime
=
3
;
int64
endTime
=
4
;
repeated
TraceSegmentReference
refs
=
5
;
int32
operationNameId
=
6
;
string
operationName
=
7
;
int32
peerId
=
8
;
string
peer
=
9
;
SpanType
spanType
=
10
;
SpanLayer
spanLayer
=
11
;
int32
componentId
=
12
;
string
component
=
13
;
bool
isError
=
14
;
repeated
KeyWithStringValue
tags
=
15
;
repeated
LogMessage
logs
=
16
;
}
enum
RefType
{
CrossProcess
=
0
;
CrossThread
=
1
;
}
enum
SpanLayer
{
Unknown
=
0
;
Database
=
1
;
RPCFramework
=
2
;
Http
=
3
;
MQ
=
4
;
Cache
=
5
;
}
message
LogMessage
{
int64
time
=
1
;
repeated
KeyWithStringValue
data
=
2
;
}
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录