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

add default span layer
This commit is contained in:
吴晟 Wu Sheng 2017-08-12 08:41:05 -05:00 committed by GitHub
commit a00291f98f
2 changed files with 9 additions and 8 deletions

View File

@ -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 {

View File

@ -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;