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