-
Notifications
You must be signed in to change notification settings - Fork 1.6k
add GetFactory interface to hostcapabilities package #12789
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
add GetFactory interface to hostcapabilities package #12789
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #12789 +/- ##
==========================================
- Coverage 91.46% 91.43% -0.04%
==========================================
Files 483 487 +4
Lines 26624 26808 +184
==========================================
+ Hits 24351 24511 +160
- Misses 1791 1814 +23
- Partials 482 483 +1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, just a small update to the release notes.
@TylerHelmuth since you previously removed this method from the component.Host
interface: are there any plans to deprecate/modify the method that would make exposing this interface counter-productive?
Co-authored-by: Jade Guiton <[email protected]>
It doesn't seem likely that we'll remove this capability from our |
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description Use core collector API for interface validation open-telemetry/opentelemetry-collector#12789 <!-- Issue number (e.g. #1234) or full URL to issue, if applicable. --> #### Link to tracking issue Fixes <!--Describe what testing was performed and which tests were added.--> #### Testing <!--Describe the documentation added.--> #### Documentation <!--Please delete paragraphs that you did not use before submitting.--> Co-authored-by: Antoine Toulme <[email protected]>
…elemetry#39453) <!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description Use core collector API for interface validation open-telemetry/opentelemetry-collector#12789 <!-- Issue number (e.g. open-telemetry#1234) or full URL to issue, if applicable. --> #### Link to tracking issue Fixes <!--Describe what testing was performed and which tests were added.--> #### Testing <!--Describe the documentation added.--> #### Documentation <!--Please delete paragraphs that you did not use before submitting.--> Co-authored-by: Antoine Toulme <[email protected]>
…elemetry#39453) <!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description Use core collector API for interface validation open-telemetry/opentelemetry-collector#12789 <!-- Issue number (e.g. open-telemetry#1234) or full URL to issue, if applicable. --> #### Link to tracking issue Fixes <!--Describe what testing was performed and which tests were added.--> #### Testing <!--Describe the documentation added.--> #### Documentation <!--Please delete paragraphs that you did not use before submitting.--> Co-authored-by: Antoine Toulme <[email protected]>
Description
The GetFactory method is used by a few receivers in the contrib package (e.g. receiver_creator). This PR adds a new interface to the hostcapabilities package so it can be cast correctly from other packages/components.
Link to tracking issue
Fixes #
Testing
Documentation