From 41b676c89812f00598632bd0a04771e594e58c9e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=A7=E7=9F=B3=E5=A4=B4?= Date: Fri, 15 Nov 2024 15:35:53 +0800 Subject: [PATCH] =?UTF-8?q?ErrorTime=E5=9F=8B=E7=82=B9=E5=BC=82=E5=B8=B8?= =?UTF-8?q?=EF=BC=8C=E5=A2=9E=E5=8A=A0=E5=9F=8B=E7=82=B9=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=EF=BC=8C=E5=8F=91=E7=8E=B0StartTime=E4=B8=BA0=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Stardust.Server/Controllers/TraceController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Stardust.Server/Controllers/TraceController.cs b/Stardust.Server/Controllers/TraceController.cs index 0e1a6d4f..f59b210b 100644 --- a/Stardust.Server/Controllers/TraceController.cs +++ b/Stardust.Server/Controllers/TraceController.cs @@ -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; }