Commit Graph

11 Commits

Author SHA1 Message Date
150313f7d7 fix(telemetry): tracer did not initialize
All checks were successful
Gitea Build Check / Build (pull_request) Successful in 2m25s
fixed a bug where the OtterSpacesSDK Crashes if no tracer was initialized
2024-08-29 10:44:40 +02:00
44bedd20a1 feat(version): Update to version 3
All checks were successful
Gitea Build Check / Build (push) Successful in 2m18s
Gitea Build Check / Build (pull_request) Successful in 2m13s
Updated the module to version 3.

BREAKING CHANGE: This SDK version is not compatible with programs using the v2 implementation.
2024-08-14 14:58:06 +02:00
71488dade9 feat(database): Enable error translation in GORM configuration for better error handling 2024-08-13 14:00:36 +02:00
1345fa9c9e refactor: Simplify migration logging by removing redundant config.Debug check 2024-08-13 12:54:02 +02:00
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