Added Scrape History Logging #9

Merged
SoXX merged 6 commits from dev/scrape-history into main 2024-10-16 10:15:59 +00:00

6 Commits

Author SHA1 Message Date
a99c4457d2 fix: Handle multiple error returns in TaskStart by joining errors
All checks were successful
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
All checks were successful
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
All checks were successful
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
All checks were successful
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
All checks were successful
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