From d0a659fce5d13024cfaae6282ff0966e4cce3da9 Mon Sep 17 00:00:00 2001 From: steden <1470804@qq.com> Date: Tue, 17 Oct 2023 12:25:19 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=EF=BC=9A=E6=89=8B=E5=8A=A8?= =?UTF-8?q?=E5=9F=8B=E7=82=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- traceDatabaseDetail.go | 1 + traceHandDetail.go | 1 + traceRedisDetail.go | 1 + 3 files changed, 3 insertions(+) diff --git a/traceDatabaseDetail.go b/traceDatabaseDetail.go index cc44dad..b04a9be 100644 --- a/traceDatabaseDetail.go +++ b/traceDatabaseDetail.go @@ -28,6 +28,7 @@ func TraceDatabase() *TraceDatabaseDetail { CallMethod: "", CallType: eumCallType.Database, StartTs: time.Now().UnixMicro(), + EndTs: time.Now().UnixMicro(), }, } diff --git a/traceHandDetail.go b/traceHandDetail.go index bd7a252..f7baf22 100644 --- a/traceHandDetail.go +++ b/traceHandDetail.go @@ -24,6 +24,7 @@ func TraceHand(name string) *TraceHandDetail { CallMethod: "", CallType: eumCallType.Hand, StartTs: time.Now().UnixMicro(), + EndTs: time.Now().UnixMicro(), }, Name: name, } diff --git a/traceRedisDetail.go b/traceRedisDetail.go index f41b210..5497ce9 100644 --- a/traceRedisDetail.go +++ b/traceRedisDetail.go @@ -24,6 +24,7 @@ func TraceRedis(redisMethod string, key string, field string) *TraceRedisDetail CallMethod: redisMethod, CallType: eumCallType.Redis, StartTs: time.Now().UnixMicro(), + EndTs: time.Now().UnixMicro(), }, Key: key, Field: field,