Commit Graph

33 Commits

Author SHA1 Message Date
19b96e64e1 feat: added summery
All checks were successful
Gitea Build Check / Build (pull_request) Successful in 42s
Gitea Build Check / Build (push) Successful in 44s
- Introduce `BatchSummery` struct for post and favorite counts
- Add `BatchPostProcessingWithSummery` function to include summary
- Update error returns to include empty `BatchSummery` struct
2024-08-27 12:25:00 +02:00
969bc17737 feat(telemetry): added more info 2024-08-27 10:04:55 +02:00
942bbede1b feat(telemetry): added light logging 2024-08-27 09:56:52 +02:00
08e4364069 feat(telemetry): Integrate OpenTelemetry tracing into BatchPostProcessing function 2024-08-27 09:49:20 +02:00
0070352623 fix: upsertSource function
now returning the correct source after finding it or creating it
2024-08-27 09:35:25 +02:00
f708706d50 feat: Add batch post-processing functionality for scraping posts 2024-08-27 09:15:17 +02:00
7975791d9b chore: sort imports 2024-08-27 08:26:39 +02:00
ceba57ffd8 refactor: move source function to own function 2024-08-27 07:50:36 +02:00
23bae0a5f8 refactor: move object functions to own ones 2024-08-27 07:45:30 +02:00
c0f069b3c0 refactor: remove telemetry from getter and setter functions 2024-08-27 07:38:24 +02:00
311de674ba feat: listen function now has an own context and implemented an graceful stop 2024-08-27 07:37:19 +02:00
130f6928fc refactor: move otlp to custom file out of the scope from plug instance 2024-08-27 07:32:24 +02:00
7ce3b94756 feat: Assign new context with span context to address gRPC closure issue 2024-08-26 16:44:50 +02:00
426701f58c fix: context creation to use request context in TaskStart method 2024-08-26 16:38:14 +02:00
bef94becce feat: tracer initialization and add OTLP text map propagator setup 2024-08-26 16:33:40 +02:00
e070fb8dcf feat(telemetry): initial
added first draft of tracing and logging, may need to be improved
2024-08-26 15:42:42 +02:00
8e44948927 refactor(telemetry): initialization of tracer and logger
logger initialization and tracer usage in Plug struct for consistency
2024-08-26 13:05:50 +02:00
5aeb04951f feat(telemetry): telemetry & logging
added first idea of telemetry into the SDK, may needs more work
2024-08-26 13:01:31 +02:00
119d3b6d0d fix: Make CreatedAt field a pointer in Message struct 2024-08-26 10:57:05 +02:00
25db8e8bf7 feat(grpc): updated to latest protobuf & updated dependencies 2024-08-26 10:51:00 +02:00
b445f5c362 refactor: Remove unused error handling and simplify no data found check in server.go 2024-08-25 00:09:21 +02:00
6b10ff2766 refactor: error handling in Plug.Listen method
- Introduce a new function to create the no data found error
- Simplify error checking logic for clarity and consistency
2024-08-25 00:05:16 +02:00
eef3296435 fix: error handling
using pointer for noDataFoundError check in Listen method
2024-08-24 23:59:42 +02:00
08fc9e5e33 refacotr: error handling in Listen method to use variable for noDataFoundError 2024-08-24 23:52:36 +02:00
969c2d90d9 fix: Fix error handling for source retrieval in Listen method 2024-08-24 23:50:02 +02:00
40be98100e fix(error): Refactor error handling to use errors.Is for more robust database error checking in Listen method. 2024-08-24 23:42:38 +02:00
7d4ce9f359 refactor(source): function header
changed function header to use the UserSources as information source
2024-08-17 20:23:11 +02:00
b6974c4a9f feat(source): Include source parameter in gRPC server methods and initialization 2024-08-15 09:56:40 +02:00
c01290847d fix(module): Update SDK import paths to use correct casing 2024-08-14 16:16:42 +02:00
8fa77e186b fix(module): Update SDK import paths to use correct casing 2024-08-14 16:12:48 +02:00
cf4a5bc9a2 feat(database): Update SDK to v3 and refactor database 2024-08-14 16:06:53 +02:00
91bd27ad98 fix: change old git urls to anthrove urls 2024-07-19 21:57:01 +02:00
1abc5cbae0 migration from old git (no git history) 2024-07-19 15:28:48 +02:00