Tim Möhlmann 7ef95c9194
fix(db): wrap BeginTx in spans to get acquire metrics (#7689)
feat(db): wrap BeginTx in spans to get acquire metrics

This changes adds a span around most db.BeginTx calls so we can get tracings about the connection pool acquire process.
This might help us pinpoint why sometimes some query package traces show longer execution times, while this was not reflected on database side execution times.

Co-authored-by: Silvan <silvan.reusser@gmail.com>
(cherry picked from commit 093dd57a787f6bfe18a990d17354ad096f06f349)
2024-04-09 14:03:03 +02:00
..
2024-03-27 15:48:22 +02:00
2024-01-02 14:26:31 +00:00
2024-01-02 14:26:31 +00:00
2023-10-19 12:34:00 +02:00
2021-03-09 10:30:11 +01:00
2024-03-27 15:48:22 +02:00