Skip to content

Replace exporterhelper Request.Export with passing a ConsumeRequest func #12637

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

Merged
merged 1 commit into from
Mar 16, 2025

Conversation

bogdandrutu
Copy link
Member

@bogdandrutu bogdandrutu commented Mar 15, 2025

Fixes #8950

The logic behind this, is that during merging and splitting we should not care about the export func (see complicated logic removed in FakeRequest of in the pdata requests implementations).

Also, this simplify what user should carry with the request.

@bogdandrutu bogdandrutu requested review from dmitryax and a team as code owners March 15, 2025 00:20
@bogdandrutu bogdandrutu force-pushed the rm-request-export branch 2 times, most recently from 87c818e to 5bc51a4 Compare March 15, 2025 00:37
@dmitryax
Copy link
Member

Sounds good to me. This would resolve #8950. Please take a look at the failing CI

@bogdandrutu bogdandrutu force-pushed the rm-request-export branch 2 times, most recently from 9ce643e to ed16315 Compare March 15, 2025 01:54
Copy link

codecov bot commented Mar 15, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.66%. Comparing base (0e9e259) to head (ba96c23).
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #12637   +/-   ##
=======================================
  Coverage   91.66%   91.66%           
=======================================
  Files         478      479    +1     
  Lines       26456    26481   +25     
=======================================
+ Hits        24250    24273   +23     
- Misses       1747     1749    +2     
  Partials      459      459           

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

🚀 New features to boost your workflow:
  • Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@bogdandrutu bogdandrutu force-pushed the rm-request-export branch 3 times, most recently from 839e22e to c1cb1b5 Compare March 15, 2025 16:35
@bogdandrutu
Copy link
Member Author

@dmitryax PTAL

@bogdandrutu bogdandrutu enabled auto-merge March 16, 2025 20:12
Copy link
Member

@dmitryax dmitryax left a comment

Choose a reason for hiding this comment

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

LGTM

@bogdandrutu bogdandrutu added this pull request to the merge queue Mar 16, 2025
Merged via the queue into open-telemetry:main with commit da4512d Mar 16, 2025
55 checks passed
@bogdandrutu bogdandrutu deleted the rm-request-export branch March 16, 2025 22:41
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.

[exporterhelper] Reconsider the Go interface for the new exporter helper
2 participants