From dce65faffdc2e6c106d3540b38e8f0d902714241 Mon Sep 17 00:00:00 2001 From: Egor Matveev Date: Wed, 18 Jun 2025 16:34:50 +0300 Subject: [PATCH] fix --- main.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/main.go b/main.go index f2e2d64..e8ed6f7 100644 --- a/main.go +++ b/main.go @@ -14,9 +14,8 @@ import ( ) func writeMetric(timestamp time.Time, endpoint string, statusCode int, responseTime int, method string) { - loc, _ := time.LoadLocation("Europe/Moscow") err := endpoints.AddEndpointMetric(endpoints.EndpointMetric{ - Timestamp: timestamp.In(loc), + Timestamp: timestamp.Add(time.Hour * 3), Service: "monitoring", Environment: os.Getenv("STAGE"), Endpoint: endpoint, -- 2.45.2