Skip to content

Conversation

@dmathieu
Copy link
Member

@dmathieu dmathieu commented Aug 1, 2024

Description

This moves the exporter builder out of the exporter 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)

@dmathieu dmathieu force-pushed the move-exporter-builder branch 2 times, most recently from 755801d to 39583e7 Compare August 1, 2024 13:13
@dmathieu dmathieu force-pushed the move-exporter-builder branch from 39583e7 to 07b93d8 Compare August 1, 2024 13:18
@codecov
Copy link

codecov bot commented Aug 1, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.87%. Comparing base (549ee72) to head (d80652e).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #10783      +/-   ##
==========================================
+ Coverage   91.85%   91.87%   +0.01%     
==========================================
  Files         409      410       +1     
  Lines       19226    19268      +42     
==========================================
+ Hits        17660    17702      +42     
  Misses       1217     1217              
  Partials      349      349              

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

@dmathieu dmathieu force-pushed the move-exporter-builder branch from eb01fce to 587fa93 Compare August 2, 2024 08:20
@dmathieu dmathieu force-pushed the move-exporter-builder branch from 587fa93 to 5f2e5b4 Compare August 2, 2024 08:29
@mx-psi mx-psi added this to the Profiling support milestone Aug 12, 2024
@dmathieu dmathieu force-pushed the move-exporter-builder branch 2 times, most recently from 335e25e to 484f56c Compare August 19, 2024 09:59
@dmathieu dmathieu force-pushed the move-exporter-builder branch from 484f56c to 7ea8a3a Compare August 19, 2024 10:08
@dmathieu dmathieu marked this pull request as ready for review August 21, 2024 15:19
@dmathieu dmathieu requested review from a team and dmitryax August 21, 2024 15:19
@mx-psi
Copy link
Member

mx-psi commented Aug 22, 2024

Looks like the merge went wrong 🤔

Error: /home/runner/work/opentelemetry-collector/opentelemetry-collector/otelcol/collector.go:188:12: duplicate field name BuildInfo in struct literal
Error: /home/runner/work/opentelemetry-collector/opentelemetry-collector/otelcol/collector.go:189:16: duplicate field name CollectorConf in struct literal

@dmathieu dmathieu force-pushed the move-exporter-builder branch from dc9d21e to 98f7fcc Compare August 22, 2024 08:53
@dmathieu
Copy link
Member Author

Sorry about that. I have fixed it.

@mx-psi mx-psi merged commit 7cd1579 into open-telemetry:main Aug 22, 2024
@dmathieu dmathieu deleted the move-exporter-builder branch August 22, 2024 09:45
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.

2 participants