From 8393bf1b1755cd5a86f86d6960db4136b2841ba8 Mon Sep 17 00:00:00 2001 From: Pascal Fischer Date: Wed, 15 Oct 2025 16:29:36 +0200 Subject: [PATCH] pass metrics in transactions --- management/server/store/sql_store.go | 1 + 1 file changed, 1 insertion(+) diff --git a/management/server/store/sql_store.go b/management/server/store/sql_store.go index acb6e51f1..731dd857d 100644 --- a/management/server/store/sql_store.go +++ b/management/server/store/sql_store.go @@ -2062,6 +2062,7 @@ func (s *SqlStore) ExecuteInTransaction(ctx context.Context, operation func(stor func (s *SqlStore) withTx(tx *gorm.DB) Store { return &SqlStore{ db: tx, + metrics: s.metrics, storeEngine: s.storeEngine, } }