-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add logs scraper in factory #11822
base: main
Are you sure you want to change the base?
Add logs scraper in factory #11822
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #11822 +/- ##
=======================================
Coverage 91.62% 91.62%
=======================================
Files 447 447
Lines 23739 23751 +12
=======================================
+ Hits 21751 21763 +12
Misses 1613 1613
Partials 375 375 ☔ View full report in Codecov by Sentry. |
@bogdandrutu @evan-bradley Could we please add |
scraper/factory.go
Outdated
// CreateLogs creates a Logs scraper based on this config. | ||
// If the scraper type does not support logs, | ||
// this function returns the error [pipeline.ErrSignalNotSupported]. | ||
// Implementers can assume `next` is never nil. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sorry, what is next
here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
// Implementers can assume `next` is never nil. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@atoulme Good catch! I think this line is copied from somewhere. Removed it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, one nit on a comment.
ping |
Description
Add scraper for logs(#11799) in the factory
Link to tracking issue
Relates to #11238 , #11799
Testing
Added
Documentation
Updated the previous change log file