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 scraperhelper #11899

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

Conversation

sincejune
Copy link
Contributor

Description

This PR:
(1) added logs scraper in scraperhelper
(2) introduced new metrics for scraping logs.
(3) added alias for legacy type and function names.

Link to tracking issue

Relates to #11238

Testing

Added

Documentation

API changes only. Backward compatible.

@sincejune sincejune requested a review from a team as a code owner December 16, 2024 08:59
Copy link

codecov bot commented Dec 16, 2024

Codecov Report

Attention: Patch coverage is 89.08046% with 19 lines in your changes missing coverage. Please review.

Project coverage is 91.60%. Comparing base (ffcef93) to head (f2ca441).

Files with missing lines Patch % Lines
receiver/scraperhelper/logs_scrapercontroller.go 91.00% 6 Missing and 3 partials ⚠️
component/componenttest/otelchecker.go 0.00% 5 Missing ⚠️
receiver/scraperhelper/obs_logs.go 93.18% 2 Missing and 1 partial ⚠️
component/componenttest/obsreporttest.go 0.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #11899      +/-   ##
==========================================
- Coverage   91.62%   91.60%   -0.03%     
==========================================
  Files         447      449       +2     
  Lines       23739    23902     +163     
==========================================
+ Hits        21751    21895     +144     
- Misses       1613     1628      +15     
- Partials      375      379       +4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant