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

[chore] Deprecate the interface exporter.Request.Merge() #12012

Merged

Conversation

sfc-gh-sili
Copy link
Contributor

@sfc-gh-sili sfc-gh-sili commented Jan 4, 2025

Description

This PR removes the interface exporter.Request.Merge() because Merge() is just a special case of MergeSplit().
With just one interface, we no longer need an if-else loop in the batcher based on MaxConfigSize. MergeSplit() should be able to handle both the case where MaxConfigSize is specified or the case where it is not

Link to tracking issue

Fixes #

Testing

All the existing cases should still pass.

Documentation

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Copy link

codecov bot commented Jan 4, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.70%. Comparing base (3e87d0d) to head (2a8b3e8).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #12012      +/-   ##
==========================================
+ Coverage   91.66%   91.70%   +0.03%     
==========================================
  Files         447      447              
  Lines       23741    23728      -13     
==========================================
- Hits        21762    21759       -3     
+ Misses       1607     1600       -7     
+ Partials      372      369       -3     

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

@bogdandrutu bogdandrutu added this pull request to the merge queue Jan 4, 2025
@bogdandrutu bogdandrutu removed this pull request from the merge queue due to a manual request Jan 4, 2025
@bogdandrutu
Copy link
Member

I think we need to mark this as a "breaking" change even if it is for experimental interface we still need to add a changelog. Ideally if not that hard, is it possible to just mark the method as deprecated and then remove next release?

@bogdandrutu bogdandrutu added this pull request to the merge queue Jan 4, 2025
@bogdandrutu
Copy link
Member

Created a different PR for the changelog.

Merged via the queue into open-telemetry:main with commit fbca1ee Jan 4, 2025
52 checks passed
@sfc-gh-sili sfc-gh-sili deleted the sili-deprecate-merge-2 branch January 31, 2025 20:39
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.

None yet

2 participants