Skip to content
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

Open
wants to merge 39 commits into
base: main
Choose a base branch
from

Conversation

sincejune
Copy link
Contributor

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

@sincejune sincejune requested a review from a team as a code owner December 8, 2024 16:16
@sincejune sincejune mentioned this pull request Dec 8, 2024
Copy link

codecov bot commented Dec 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.62%. Comparing base (a573bc9) to head (3d31da9).

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.
📢 Have feedback on the report? Share it here.

@songy23 songy23 requested a review from bogdandrutu December 9, 2024 16:18
@sincejune
Copy link
Contributor Author

@bogdandrutu @evan-bradley Could we please add Skip Changelog label to this PR? This is a follow-up PR of #11799 and I've updated the existing change log in the PR. Thanks!

// 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.
Copy link
Contributor

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?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
// Implementers can assume `next` is never nil.

Copy link
Contributor Author

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.

@atoulme atoulme added the Skip Changelog PRs that do not require a CHANGELOG.md entry label Dec 11, 2024
Copy link
Contributor

@atoulme atoulme left a 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.

@songy23 songy23 added the ready-to-merge Code review completed; ready to merge by maintainers label Dec 12, 2024
@sincejune
Copy link
Contributor Author

ping

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-to-merge Code review completed; ready to merge by maintainers Skip Changelog PRs that do not require a CHANGELOG.md entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants