Kristaps Fabians Geikins
347fa4b462
feat(server): improving knex query stack traces ( #3855 )
...
* feat(server): improving knex query stack traces
* minor cleanup
* more improvements
2025-01-21 10:59:09 +01:00
Kristaps Fabians Geikins
b6ba4c61f7
feat(server): req context for subscription connections too ( #3852 )
...
* feat(server): req context for subscription connections too
* minor adjustment
2025-01-20 20:29:14 +01:00
Kristaps Fabians Geikins
cf7f2593cb
feat(server): add db metrics to GQL finished log entries ( #3826 )
...
* feat(server): add db metrics to GQL finished log entries
* logging for query errored as well
2025-01-15 13:40:00 +02:00
Kristaps Fabians Geikins
dfed4ae5c1
feat(server): get request ctx from anywhere + log it w/ db operations ( #3823 )
2025-01-15 12:08:51 +02:00
Kristaps Fabians Geikins
3351e09418
feat(server): logging stack traces for db errors + allow async stack traces through env var ( #3819 )
2025-01-14 17:25:30 +01:00
Gergő Jedlicska
bf34382b7e
feat(db): elevate db query message log level ( #3782 )
2025-01-09 11:48:46 +01:00
Iain Sproat
8197bb74a3
feat(multi-region): metrics for knex for all regional databases ( #3580 )
...
* feat(multi-region): metrics for knex for all regional databases
* improve typing in knex monitoring
* error logging around migrations
* await async calls for db connections
- add 'region' label
* add missing 'await' statements
* more missing 'await'
* guard against re-adding listeners
* It was possible for update to be called before initialize
- this change collapses both into initialize, and adds checks to ensure initialization is done before being updated for new regions
* separate back into non-exported const and rename
* align with main
* Amend order at which metrics is enabled
2024-12-12 11:03:25 +01:00
Iain Sproat
2a7c51f3df
Revert "feat(multi-region): metrics for knex for all regional databases ( #3508 )" ( #3534 )
...
This reverts commit f51eb91861 .
2024-11-21 11:14:04 +00:00
Iain Sproat
f51eb91861
feat(multi-region): metrics for knex for all regional databases ( #3508 )
...
* feat(multi-region): metrics for knex for all regional databases
* improve typing in knex monitoring
* error logging around migrations
2024-11-21 12:11:56 +01:00
Iain Sproat
a0a1363e01
fix(logging): redact detail in database error message ( #2642 )
...
- may contain secrets which should not be logged
2024-08-12 17:38:21 +01:00
Iain Sproat
7b1c46ba9a
chore(server): addn'l observability around db connections ( #2628 )
...
* chore(server): addn'l observability around db connections
* improvement to logging and metrics
* Instrument the knex connection pool
2024-08-12 13:17:53 +01:00