Commit Graph

56 Commits

Author SHA1 Message Date
38cecba455 fix(grpc): spelling
All checks were successful
Gitea Build Check / Build (push) Successful in 48s
Gitea Build Check / Build (pull_request) Successful in 50s
2024-09-04 14:56:27 +02:00
b497348d2a feat(grpc): add logging
All checks were successful
Gitea Build Check / Build (push) Successful in 51s
Gitea Build Check / Build (pull_request) Successful in 47s
2024-09-04 14:53:01 +02:00
2c8d6bd682 fix(grpc): get necessary information
All checks were successful
Gitea Build Check / Build (push) Successful in 51s
Gitea Build Check / Build (pull_request) Successful in 53s
getting data from database for the userSource
2024-09-04 14:17:00 +02:00
601ce9eae7 feat(grpc): added GetUserMessages & SendMessage
All checks were successful
Gitea Build Check / Build (push) Successful in 50s
Gitea Build Check / Build (pull_request) Successful in 53s
finalized first draft for the endpoint integration
2024-09-04 14:01:04 +02:00
42954c7cf1 feat(grpc): added ping
added ping function
2024-09-04 13:41:29 +02:00
909e84fe1c feat(grpc): added middleware
All checks were successful
Gitea Build Check / Build (push) Successful in 42s
Gitea Build Check / Build (pull_request) Successful in 44s
added the ability to receive otel data from clients
2024-08-30 15:20:32 +02:00
76174e3247 feat(dependencies): update to latest version
All checks were successful
Gitea Build Check / Build (push) Successful in 51s
Gitea Build Check / Build (pull_request) Successful in 51s
updated OtterSpaceSDK to v4.0.0
2024-08-29 15:26:58 +02:00
ea41bef942 fix: move before new context gets created
All checks were successful
Gitea Build Check / Build (push) Successful in 39s
Gitea Build Check / Build (pull_request) Successful in 47s
2024-08-27 14:21:33 +02:00
caef31f48f feat: Add validation check for user account before starting task
All checks were successful
Gitea Build Check / Build (push) Successful in 43s
Gitea Build Check / Build (pull_request) Successful in 45s
2024-08-27 14:17:31 +02:00
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
1489e19280 docs(typo): fixed typo
All checks were successful
Gitea Build Check / Build (push) Successful in 38s
2024-08-27 11:43:59 +02:00
da6eda19ea docs(example): added new example 2024-08-27 11:43:22 +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
117c15e371 fix: wrong user 2024-08-26 16:50:25 +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
57dcb53aba chore: Add logrus and otel/trace as direct dependencies in go.mod 2024-08-26 15:50:03 +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
53df27f9e3 feat(telemetry): added base functions
added base function for OTEL Setup
2024-08-26 13:00:56 +02:00
0ab2d12c39 feat(telemetry): added base functions
added base function for OTEL Setup
2024-08-26 13:00:51 +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
3268ada83a feat: add submodules correct 2024-08-25 01:48:27 +02:00
0c37a7ee25 remove submodule 2024-08-25 01:41:04 +02:00
2484da89f1 remove third_party folder 2024-08-25 01:34:34 +02:00
0151abc4e2 chore: Update submodule grpc-proto to branch release/v4.0.0 2024-08-25 01:27:36 +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
598b2e73bd chore(dependencies): tidy 2024-08-14 16:10:27 +02:00