未验证 提交 13b4c772 编写于 作者: D Daming 提交者: GitHub

Uniform the SpanLayer type name (#21)

* Uniform the SpanLayer type name

* update the expectedData.yml
上级 8176007b
......@@ -16,12 +16,12 @@
--
local Layer = {
NONE = {name = "NONE", value=0},
DB = {name = "DB", value=1},
RPC_FRAMEWORK = {name = "RPC_FRAMEWORK", value=2},
HTTP = {name = "HTTP", value=3},
NONE = {name = "Unknown", value=0},
DB = {name = "Database", value=1},
RPC_FRAMEWORK = {name = "RPCFramework", value=2},
HTTP = {name = "Http", value=3},
MQ = {name = "MQ", value=4},
CACHE = {name = "CACHE", value=5},
CACHE = {name = "Cache", value=5},
}
return Layer
\ No newline at end of file
return Layer
......@@ -20,7 +20,7 @@ segmentItems:
parentSpanId: 0
componentId: 6000
peer: 'User_Service_Name-nginx:upstream_ip2:port2'
spanLayer: HTTP
spanLayer: Http
- operationName: /tier2/lb
startTime: gt 0
tags:
......@@ -36,7 +36,7 @@ segmentItems:
- {parentEndpointId: 0, entryEndpointId: 0, parentServiceInstanceId: 1, parentEndpoint: /ingress, parentTraceSegmentId: parentTraceSegmentId,
networkAddress: '#User_Service_Name-nginx:upstream_ip:port', parentSpanId: 1,
entryServiceInstanceId: 1, networkAddressId: 0, entryEndpoint: /ingress}
spanLayer: HTTP
spanLayer: Http
- segmentId: not null
spans:
- operationName: /ingress
......@@ -48,7 +48,7 @@ segmentItems:
parentSpanId: 0
componentId: 6000
peer: 'User_Service_Name-nginx:upstream_ip:port'
spanLayer: HTTP
spanLayer: Http
- operationName: /ingress
startTime: gt 0
tags:
......@@ -59,5 +59,5 @@ segmentItems:
spanId: 0
parentSpanId: -1
isError: false
spanLayer: HTTP
componentId: 6000
\ No newline at end of file
spanLayer: Http
componentId: 6000
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册