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
[opampextension]: Move custom message interface to separate module #32951
[opampextension]: Move custom message interface to separate module #32951
Conversation
@BinaryFissionGames Could we put this in |
I'm certainly open to it. The reason I chose not to is based on the storage module: It also mirrors in the non-contrib repo how the And also the auth module, which contains the authcation extension interfaces: So it seemed like this was the current pattern. Still happy to change it if you think I should. |
Encoding seems like another example of a module that is not component that's nested under extension: |
Thanks for the examples. I haven't dug into those extensions too much, I didn't know they exported interfaces as well. I'd say you have it right putting it under As a side note, thanks for being mindful of the deprecation process; I agree that we can just move the interfaces as part of a breaking change like you've done here. |
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.
You'll need to add this module to |
…pen-telemetry#32951) **Description:** <Describe what has changed.> * Breaks our the custom message interface to a separate module, so other components can use the interface without needing to import the `opampextension` module in its entirety. We could temporarily alias the old methods if we'd like, but I think that the CustomMessage stuff has been so short lived that, in addition to the alpha status of the opampextension component, it feels justified to just skip the deprecation process and move it to a new module. **Link to tracking Issue:** Closes open-telemetry#32950 **Testing:** * Covered by existing unit tests **Documentation:** * Added more documentation on usage in the new module. * Modified opampextension docs to point to the new module.
Description:
opampextension
module in its entirety.We could temporarily alias the old methods if we'd like, but I think that the CustomMessage stuff has been so short lived that, in addition to the alpha status of the opampextension component, it feels justified to just skip the deprecation process and move it to a new module.
Link to tracking Issue: Closes #32950
Testing:
Documentation: