36d6ecd873
fix: Remove redundant error logging and tracing in TaskStart function
Gitea Build Check / Build (push) Successful in 56s
2024-10-26 20:36:43 +02:00
408c977432
fix: nil pointer for DB
Gitea Build Check / Build (push) Successful in 57s
2024-10-26 20:30:12 +02:00
107a317095
fix: Capitalize struct fields for public access
Gitea Build Check / Build (push) Successful in 1m2s
2024-10-25 22:46:22 +02:00
41882b9bfb
feat: Refactor task execution to use Plug interface and update algorithm implementation
Gitea Build Check / Build (push) Successful in 1m3s
2024-10-25 22:33:13 +02:00
684d52d64c
feat: pumped SDK version to 4.0.0
Gitea Build Check / Build (push) Successful in 58s
Gitea Build Check / Build (pull_request) Successful in 58s
2024-10-16 12:20:21 +02:00
a99c4457d2
fix: Handle multiple error returns in TaskStart by joining errors
Gitea Build Check / Build (push) Successful in 58s
Gitea Build Check / Build (pull_request) Successful in 58s
2024-10-16 12:12:20 +02:00
cc2b0374da
fix: Refactor error handling by introducing errorString function to check for nil errors
Gitea Build Check / Build (push) Successful in 59s
Gitea Build Check / Build (pull_request) Successful in 59s
2024-10-16 10:22:35 +02:00
2707806a08
feat: Update scrape history on task failure and completion
Gitea Build Check / Build (push) Successful in 56s
2024-10-16 10:11:00 +02:00
22b0edabfe
fix(grpc): force ID length to 25 chars
Gitea Build Check / Build (push) Successful in 59s
2024-10-16 09:47:48 +02:00
9de22d3176
feat: Add ScrapeHistory tracking and refactor task execution return type
...
Gitea Build Check / Build (push) Successful in 58s
- Add `ScrapeHistory` record creation and update during task execution
- Modify `TaskExecution` function to return `TaskSummery` instead of using a cancel function
- Reintroduce and move `removeTask` function for cleanup after task execution
2024-10-15 16:08:34 +02:00
9132779673
chore(dependencies): update to latest version
2024-10-15 15:43:10 +02:00
38cecba455
fix(grpc): spelling
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
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
...
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
...
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
...
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
...
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
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
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
...
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
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