zitadel/internal/eventstore/handler/v2
Tim Möhlmann 093dd57a78
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>
2024-04-03 11:48:24 +03:00
..
failed_event_get_count.sql feat(eventstore): increase parallel write capabilities (#5940) 2023-10-19 12:19:10 +02:00
failed_event_set.sql feat(eventstore): increase parallel write capabilities (#5940) 2023-10-19 12:19:10 +02:00
failed_event.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
handler.go fix(db): wrap BeginTx in spans to get acquire metrics (#7689) 2024-04-03 11:48:24 +03:00
init.go chore: use pgx v5 (#7577) 2024-03-27 15:48:22 +02:00
log.go feat(eventstore): increase parallel write capabilities (#5940) 2023-10-19 12:19:10 +02:00
mock_test.go feat(eventstore): increase parallel write capabilities (#5940) 2023-10-19 12:19:10 +02:00
reduce.go feat(eventstore): increase parallel write capabilities (#5940) 2023-10-19 12:19:10 +02:00
state_get_await.sql fix(eventstore): improve pagination of handler filter (#6968) 2023-12-01 12:25:41 +00:00
state_get.sql fix(eventstore): improve pagination of handler filter (#6968) 2023-12-01 12:25:41 +00:00
state_lock.sql feat(eventstore): increase parallel write capabilities (#5940) 2023-10-19 12:19:10 +02:00
state_set.sql fix(eventstore): improve pagination of handler filter (#6968) 2023-12-01 12:25:41 +00:00
state_test.go chore: use pgx v5 (#7577) 2024-03-27 15:48:22 +02:00
state.go fix: handle context correctly in processEvents (#7320) 2024-01-31 11:25:28 +01:00
statement_test.go feat: option to disallow public org registration (#6917) 2023-11-22 09:29:38 +00:00
statement.go feat(api): add possibility to retrieve user schemas (#7614) 2024-03-22 13:26:13 +00:00