zitadel/internal/eventstore/v3
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
..
event_test.go feat(eventstore): increase parallel write capabilities (#5940) 2023-10-19 12:19:10 +02:00
event.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
eventstore.go fix(eventstore): differentiate unique constraint error (#6832) 2023-10-27 14:10:01 +02:00
mock_test.go feat(eventstore): increase parallel write capabilities (#5940) 2023-10-19 12:19:10 +02:00
push_test.go feat(eventstore): increase parallel write capabilities (#5940) 2023-10-19 12:19:10 +02:00
push.go fix(db): wrap BeginTx in spans to get acquire metrics (#7689) 2024-04-03 11:48:24 +03:00
push.sql feat(eventstore): increase parallel write capabilities (#5940) 2023-10-19 12:19:10 +02:00
sequence_test.go fix(eventstore): increase performance on push (#7125) 2023-12-31 15:30:25 +01:00
sequence.go fix(eventstore): increase performance on push (#7125) 2023-12-31 15:30:25 +01:00
sequences_query.sql fix(eventstore): increase performance on push (#7125) 2023-12-31 15:30:25 +01:00
type.go feat(eventstore): increase parallel write capabilities (#5940) 2023-10-19 12:19:10 +02:00
unique_constraints_add.sql feat(eventstore): increase parallel write capabilities (#5940) 2023-10-19 12:19:10 +02:00
unique_constraints_delete_placeholders.sql fix(postgres <=15): delete unique constraints (#6971) 2023-11-24 07:23:23 +01:00
unique_constraints_delete.sql feat(eventstore): increase parallel write capabilities (#5940) 2023-10-19 12:19:10 +02:00
unique_constraints.go chore: use pgx v5 (#7577) 2024-03-27 15:48:22 +02:00