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

[k8sclusterreceiver]: Remove the receiver.k8sclusterreceiver.reportCpuMetricsAsDouble feature gate #10838

Merged
merged 5 commits into from
Jun 29, 2022

Conversation

jvoravong
Copy link
Contributor

Description:
Moving the receiver.k8sclusterreceiver.reportCpuMetricsAsDouble feature gate from its Beta stage to its GA stage for release v0.54.0. The feature gate will now no longer exist.

Link to tracking Issue:
This is a planned cleanup PR, so I did not create a new issue.
Here is the original related issue: Fix k8s node and container cpu metrics not being reported properly #8245

Testing:
Verified the feature gate was safely removed and cpu metrics look proper.

Documentation:
Updated the README.md notes to remove the feature gate information.
Updated the CHANGLOG.md entries to point at v0.53.0 of the feature gate information.

Alpha Stage PR: #8245
Beta Stage PR: #9367

@jvoravong jvoravong requested a review from a team June 8, 2022 16:48
@jvoravong jvoravong requested a review from dmitryax as a code owner June 8, 2022 16:48
@jvoravong jvoravong changed the title Remove the receiver.k8sclusterreceiver.reportCpuMetricsAsDouble feature gate [k8sclusterreceiver]: Remove the receiver.k8sclusterreceiver.reportCpuMetricsAsDouble feature gate Jun 8, 2022
Copy link
Member

@TylerHelmuth TylerHelmuth left a comment

Choose a reason for hiding this comment

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

Are there any tests that need updated for containers.go and collector.go? Otherwise LGTM.

@jvoravong
Copy link
Contributor Author

No testes need to be updated for containers.go and collector.go.
A containers_test.go does not exist, for containers the test coverage is in other test files. The only collector functionality that changed was removing some logging and the feature gate, we did not have any tests for this removed functionality.

@jvoravong jvoravong closed this Jun 14, 2022
@jvoravong jvoravong deleted the OTL-remove-feature-gate branch June 14, 2022 14:56
@jvoravong jvoravong restored the OTL-remove-feature-gate branch June 22, 2022 17:40
@jvoravong
Copy link
Contributor Author

For some reason I closed this PR without getting the commits merged, that was a mistake on my part. Reopening this PR, will make updates if needed.

@jvoravong jvoravong reopened this Jun 22, 2022
@dmitryax dmitryax merged commit ac4fe55 into open-telemetry:main Jun 29, 2022
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.

3 participants