Commit Graph

7 Commits

Author SHA1 Message Date
ad076f585b fix: Use Debugf for formatted debug message in migrateDatabase 2024-08-13 12:52:58 +02:00
cfc7e5362d chore: Add comments and improve JSON annotations for better data structuring and clarity across the codebase 2024-08-13 10:54:21 +02:00
bd76f838ec refactor(tracing): fixed minor issues & added debug flag 2024-08-12 15:53:45 +02:00
ae7bc131f7 refactor(tracing): tracing & logging
added the custom util functions to handel telemetry
2024-08-12 11:50:45 +02:00
2d9db01d72 feat(telemetry): Implement telemetry setup in database client
Add OpenTelemetry integration to the database client by creating a `setupTelemetry` function. Initialize a tracer and configure logging with the otellogrus hook. Call this function during the connection process to enable tracing and logging for database operations.
2024-08-11 22:17:00 +02:00
e839e7ba2a feat(database): return gorm itself
Some checks failed
Gitea Build Check / Build (push) Failing after 28s
2024-08-11 00:26:20 +02:00
fefc777888 feat(impl): Add database client and migration functionality
Implement connection to PostgreSQL database using GORM. Embed SQL migrations and handle migration execution with logging capabilities. Define configuration structure for database settings.
2024-08-09 21:39:22 +02:00