提交 77069695 编写于 作者: A ascrutae

add default span layer

上级 ec575ce0
......@@ -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.
先完成此消息的编辑!
想要评论请 注册