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 extension builder into internal service #10785

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)

While this is not technically required for the profiles work (there is no notion of signals in extensions), this PR is here to keep things consistent.

Copy link

codecov bot commented Aug 1, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.68%. Comparing base (cde1055) to head (807d9b8).
Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #10785      +/-   ##
==========================================
+ Coverage   91.67%   91.68%   +0.01%     
==========================================
  Files         408      409       +1     
  Lines       19164    19192      +28     
==========================================
+ Hits        17568    17596      +28     
  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

@mx-psi mx-psi added this to the Profiling support milestone Aug 12, 2024
@dmathieu dmathieu marked this pull request as ready for review August 21, 2024 15:19
@dmathieu dmathieu requested review from a team and mx-psi August 21, 2024 15:19
@mx-psi mx-psi merged commit 549ee72 into open-telemetry:main Aug 22, 2024
49 checks passed
@dmathieu dmathieu deleted the move-extension-builder branch August 22, 2024 09:05
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