zitadel/internal/crypto
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
..
database fix(db): wrap BeginTx in spans to get acquire metrics (#7689) 2024-04-03 11:48:24 +03:00
file chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
aes_test.go add multi files config test and some more 2020-03-30 11:44:17 +02:00
aes.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
bcrypt.go improve some functions 2020-03-30 09:28:00 +02:00
code_mock.go chore(Makefile): add go generate target (#6944) 2023-11-22 10:56:43 +00:00
code_mocker.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
code_test.go chore(Makefile): add go generate target (#6944) 2023-11-22 10:56:43 +00:00
code.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
crypto_mock.go chore(Makefile): add go generate target (#6944) 2023-11-22 10:56:43 +00:00
crypto_test.go improve some functions 2020-03-30 09:28:00 +02:00
crypto.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
generate.go refactor crypto tests 2020-03-30 11:26:02 +02:00
key_storage.go fix(db): always use begin tx (#7142) 2024-01-04 16:12:20 +00:00
key.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
passwap_test.go fix(crypto): allow parsing of cost int from env string (#7061) 2023-12-15 11:16:05 +00:00
passwap.go fix(crypto): allow parsing of cost int from env string (#7061) 2023-12-15 11:16:05 +00:00
rsa.go feat(saml): implementation of saml for ZITADEL v2 (#3618) 2022-09-12 18:18:08 +02:00