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

[chore][VERSIONING.md] Document approach to optional experimental interfaces #11482

Merged

Conversation

mx-psi
Copy link
Member

@mx-psi mx-psi commented Oct 18, 2024

Description

Documents the approach we have taken for adding experimental functionality to interfaces. We take this approach with:

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.

@mx-psi mx-psi requested a review from a team as a code owner October 18, 2024 08:01
@mx-psi mx-psi requested review from atoulme and bogdandrutu October 18, 2024 08:01
Copy link

codecov bot commented Oct 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.63%. Comparing base (9d2685f) to head (5ac014e).
Report is 6 commits behind head on main.

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.
📢 Have feedback on the report? Share it here.


🚨 Try these New Features:

Copy link
Contributor

github-actions bot commented Nov 5, 2024

This PR was marked stale due to lack of activity. It will be closed in 14 days.

@github-actions github-actions bot added the Stale label Nov 5, 2024
@mx-psi mx-psi removed the Stale label Nov 5, 2024
Copy link
Contributor

This PR was marked stale due to lack of activity. It will be closed in 14 days.

@github-actions github-actions bot added the Stale label Nov 20, 2024
@mx-psi mx-psi removed the Stale label Nov 20, 2024
Copy link
Contributor

@atoulme atoulme left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mx-psi mx-psi merged commit 854dbf9 into open-telemetry:main Nov 21, 2024
36 checks passed
@github-actions github-actions bot added this to the next release milestone Nov 21, 2024
djaglowski pushed a commit to djaglowski/opentelemetry-collector that referenced this pull request Nov 21, 2024
…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.
HongChenTW pushed a commit to HongChenTW/opentelemetry-collector that referenced this pull request Dec 19, 2024
…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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants