-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
[chore][VERSIONING.md] Document approach to optional experimental interfaces #11482
[chore][VERSIONING.md] Document approach to optional experimental interfaces #11482
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #11482 +/- ##
=======================================
Coverage 91.62% 91.63%
=======================================
Files 442 442
Lines 23776 23776
=======================================
+ Hits 21785 21787 +2
+ Misses 1619 1618 -1
+ Partials 372 371 -1 ☔ View full report in Codecov by Sentry. 🚨 Try these New Features:
|
This PR was marked stale due to lack of activity. It will be closed in 14 days. |
This PR was marked stale due to lack of activity. It will be closed in 14 days. |
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.
LGTM
…erfaces (open-telemetry#11482) <!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description <!-- Issue number if applicable --> Documents the approach we have taken for adding experimental functionality to interfaces. We take this approach with: - `receiver.Factory`, may implement the [`receiverprofiles.Factory`](https://pkg.go.dev/go.opentelemetry.io/collector/receiver/receiverprofiles#Factory) optional interface (similar for other pipeline components) - `component.Host` may implement the [`componentstatus.Reporter`](https://pkg.go.dev/go.opentelemetry.io/collector/component/componentstatus#Reporter) optional interface. - `extension.Extension` may implement the optional interfaces in [`extensioncapabilities`](https://pkg.go.dev/go.opentelemetry.io/collector/extension/extensioncapabilities). In these cases we reserve the right to change the optional, experimental parts of the underlying struct we return. You can also check whether you are using experimental functionality by checking your `go.mod` and seeing if you use one of these experimental modules.
…erfaces (open-telemetry#11482) <!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description <!-- Issue number if applicable --> Documents the approach we have taken for adding experimental functionality to interfaces. We take this approach with: - `receiver.Factory`, may implement the [`receiverprofiles.Factory`](https://pkg.go.dev/go.opentelemetry.io/collector/receiver/receiverprofiles#Factory) optional interface (similar for other pipeline components) - `component.Host` may implement the [`componentstatus.Reporter`](https://pkg.go.dev/go.opentelemetry.io/collector/component/componentstatus#Reporter) optional interface. - `extension.Extension` may implement the optional interfaces in [`extensioncapabilities`](https://pkg.go.dev/go.opentelemetry.io/collector/extension/extensioncapabilities). In these cases we reserve the right to change the optional, experimental parts of the underlying struct we return. You can also check whether you are using experimental functionality by checking your `go.mod` and seeing if you use one of these experimental modules.
Description
Documents the approach we have taken for adding experimental functionality to interfaces. We take this approach with:
receiver.Factory
, may implement thereceiverprofiles.Factory
optional interface (similar for other pipeline components)component.Host
may implement thecomponentstatus.Reporter
optional interface.extension.Extension
may implement the optional interfaces inextensioncapabilities
.In these cases we reserve the right to change the optional, experimental parts of the underlying struct we return. You can also check whether you are using experimental functionality by checking your
go.mod
and seeing if you use one of these experimental modules.