Skip to content

Commit

Permalink
添加链路明细的注释字段
Browse files Browse the repository at this point in the history
  • Loading branch information
steden committed Jan 18, 2024
1 parent c36c444 commit d46fd23
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions traceManager.go
Original file line number Diff line number Diff line change
Expand Up @@ -365,6 +365,8 @@ func add(traceDetail trace.ITraceDetail) {
detail.UnTraceTs = time.Duration(detail.StartTs-t.GetStartTs()) * time.Microsecond
}
detail.TraceId, detail.AppName, detail.AppId, detail.AppIp, detail.ParentAppName = t.GetAppInfo()

detail.Comment = trace.DetailComment.Get()
t.AddDetail(traceDetail)
}
}

0 comments on commit d46fd23

Please sign in to comment.