提交 a00291f9 编写于 作者: wu-sheng's avatar wu-sheng 提交者: GitHub

Merge pull request #355 from ascrutae/zhangxin/feature/add-default-span-layer

add default span layer
...@@ -72,10 +72,11 @@ enum SpanType { ...@@ -72,10 +72,11 @@ enum SpanType {
} }
enum SpanLayer { enum SpanLayer {
Database = 0; Unknown = 0;
RPCFramework = 1; Database = 1;
Http = 2; RPCFramework = 2;
MQ = 3; Http = 3;
MQ = 4;
} }
message LogMessage { message LogMessage {
......
...@@ -4,10 +4,10 @@ package org.skywalking.apm.agent.core.context.trace; ...@@ -4,10 +4,10 @@ package org.skywalking.apm.agent.core.context.trace;
* @author wusheng * @author wusheng
*/ */
public enum SpanLayer { public enum SpanLayer {
DB(0), DB(1),
RPC_FRAMEWORK(1), RPC_FRAMEWORK(2),
HTTP(2), HTTP(3),
MQ(3); MQ(4);
private int code; private int code;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册