提交 a1ced81e 编写于 作者: 智能大石头's avatar 智能大石头

事务埋点,数据标签使用事务等级名称比数字更友好

上级 ef805e3d
......@@ -98,7 +98,7 @@ public class EntityTransaction : DisposeBase
Session = session;
if (session != null)
{
span = DAL.GlobalTracer?.NewSpan($"db:{session.Database.ConnName}:Transaction", level);
span = DAL.GlobalTracer?.NewSpan($"db:{session.Database.ConnName}:Transaction", level + "");
session.BeginTransaction(level);
hasStart = true;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册