提交 0b4b4b17 编写于 作者: wu-sheng's avatar wu-sheng

Add layer tag value: mq.

上级 86c3646a
......@@ -51,6 +51,7 @@ public final class Tags {
private static final String DB_LAYER = "db";
private static final String RPC_FRAMEWORK_LAYER = "rpc";
private static final String HTTP_LAYER = "http";
private static final String MQ_LAYER = "mq";
public static void asDB(AbstractSpan span) {
SPAN_LAYER_TAG.set(span, DB_LAYER);
......@@ -63,6 +64,10 @@ public final class Tags {
public static void asHttp(AbstractSpan span) {
SPAN_LAYER_TAG.set(span, HTTP_LAYER);
}
public static void asMQ(AbstractSpan span) {
SPAN_LAYER_TAG.set(span, MQ_LAYER);
}
}
/**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册