Skip to content

Commit

Permalink
ErrorTime埋点异常,增加埋点数据,发现StartTime为0的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
nnhy committed Nov 15, 2024
1 parent 3cc9480 commit 41b676c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Stardust.Server/Controllers/TraceController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ private void ProcessData(AppTracer app, TraceModel model, Int32 nodeId, String i
var timestamp = item.StartTime.ToDateTime().ToLocalTime();
if (timestamp < startTime || timestamp > endTime)
{
using var span = _tracer?.NewSpan("trace:ErrorTime", new { item.Name, timestamp, ip });
using var span = _tracer?.NewSpan("trace:ErrorTime", new { item.Name, timestamp, ip, item });
continue;
}

Expand Down

0 comments on commit 41b676c

Please sign in to comment.