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

Move connector builder into internal service #10784

Merged
merged 12 commits into from
Aug 22, 2024

Conversation

dmathieu
Copy link
Member

@dmathieu dmathieu commented Aug 1, 2024

Description

This moves the connector builder out of the connector package, and into service/internal/builders.
There's no real reason for this struct to be public (folks shouldn't call it), and making it private will allow us to add profiling support to it.

Link to tracking issue

#10375 (review)

Copy link

codecov bot commented Aug 1, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.67%. Comparing base (343f449) to head (7f469c4).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #10784      +/-   ##
==========================================
+ Coverage   91.62%   91.67%   +0.05%     
==========================================
  Files         406      408       +2     
  Lines       19046    19164     +118     
==========================================
+ Hits        17450    17568     +118     
  Misses       1237     1237              
  Partials      359      359              

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

@atoulme
Copy link
Contributor

atoulme commented Aug 1, 2024

Before we break the API, we typically deprecate it for at least one release. More here: https://github.com/open-telemetry/opentelemetry-collector/blob/main/CONTRIBUTING.md#breaking-changes

@dmathieu dmathieu marked this pull request as ready for review August 21, 2024 15:19
@dmathieu dmathieu requested review from a team and bogdandrutu August 21, 2024 15:19
@mx-psi mx-psi merged commit cde1055 into open-telemetry:main Aug 22, 2024
49 checks passed
@dmathieu dmathieu deleted the move-connector-builder branch August 22, 2024 08:40
mx-psi pushed a commit that referenced this pull request Aug 30, 2024
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description

There builders were deprecated in 0.108.0, so they can be removed now.

PRs that deprecated the builders:
* #10781
* #10782
* #10783
* #10784
* #10785

cc @mx-psi
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.

3 participants