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] Remove telemetry.useOtelForInternalMetrics stable feature gate #9752

Merged
merged 2 commits into from Mar 14, 2024

Conversation

atoulme
Copy link
Contributor

@atoulme atoulme commented Mar 13, 2024

Description:
Remove the stable feature gate telemetry.useOtelForInternalMetrics. It was declared stable in 0.95.0.

@atoulme atoulme requested a review from a team as a code owner March 13, 2024 03:22
Copy link

codecov bot commented Mar 13, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 90.97%. Comparing base (7198451) to head (07cc29e).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #9752      +/-   ##
==========================================
- Coverage   90.99%   90.97%   -0.02%     
==========================================
  Files         353      353              
  Lines       18614    18614              
==========================================
- Hits        16937    16934       -3     
- Misses       1352     1354       +2     
- Partials      325      326       +1     

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

Copy link
Member

@mx-psi mx-psi left a comment

Choose a reason for hiding this comment

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

Copy link
Member

@mx-psi mx-psi left a comment

Choose a reason for hiding this comment

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

@mx-psi
Copy link
Member

mx-psi commented Mar 13, 2024

Not sure how I approved twice, lol

Copy link
Contributor

@codeboten codeboten left a comment

Choose a reason for hiding this comment

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

This should have a changelog with breaking change right? as users will no longer be able to specify the feature gate

@atoulme
Copy link
Contributor Author

atoulme commented Mar 13, 2024

I wasn't sure. I looked at previous removal of stable feature gate and it had no changelog entry.

@codeboten
Copy link
Contributor

Right, i think it should always be in the changelog, otherwise the collector won't start with:

Error: invalid argument

@TylerHelmuth
Copy link
Member

Since the gate is already stable removing it is a non-breaking change. Since it is stable already, the collector will error on startup if any user attempts to set the gate to any value, so at this point all users should have removed the gate from their startup flags or the collector wont start.

@TylerHelmuth
Copy link
Member

@codeboten
Copy link
Contributor

@TylerHelmuth right, but the collector would continue to start until this change goes out no? isn't that what makes it a breaking change?

@TylerHelmuth
Copy link
Member

but the collector would continue to start until this change goes out

Well I didnt think it did but I was wrong. So ya, we need a changelog.

@atoulme
Copy link
Contributor Author

atoulme commented Mar 14, 2024

I'll add a changelog, one moment.

@codeboten codeboten merged commit 8574df3 into open-telemetry:main Mar 14, 2024
47 checks passed
@github-actions github-actions bot added this to the next release milestone Mar 14, 2024
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.

None yet

5 participants