Skip to content

chore: Upgrade prometheus to 0.14 and clean up protobuf-related code in lib.rs #2920

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

Merged
merged 4 commits into from
Apr 11, 2025

Conversation

houseme
Copy link
Contributor

@houseme houseme commented Apr 9, 2025

Fixes #2769

@houseme houseme requested a review from a team as a code owner April 9, 2025 04:23
Copy link

codecov bot commented Apr 9, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.3%. Comparing base (8b3fc06) to head (65ea00f).
Report is 1 commits behind head on main.

Additional details and impacted files
@@          Coverage Diff          @@
##            main   #2920   +/-   ##
=====================================
  Coverage   81.3%   81.3%           
=====================================
  Files        126     126           
  Lines      24254   24254           
=====================================
  Hits       19736   19736           
  Misses      4518    4518           

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@houseme houseme changed the title Upgrade prometheus to 0.14 and clean up protobuf-related code in lib.rs chore: Upgrade prometheus to 0.14 and clean up protobuf-related code in lib.rs Apr 9, 2025
houseme and others added 2 commits April 9, 2025 12:36
…nings

- Eliminated unnecessary `.into()` type conversions in `lib.rs` to address Clippy's `useless conversion` warnings.
- Improved code clarity and ensured compliance with Rust best practices.
- Verified changes with `cargo clippy` to confirm no new warnings or errors.
@cijothomas
Copy link
Member

After discussing with other maintainers, I am changing what I stated in #2769 (comment) to do one more release with the vulnerability addressed. In other words, this PR should be accepted.

@cijothomas cijothomas closed this Apr 10, 2025
@cijothomas cijothomas reopened this Apr 10, 2025
Copy link
Member

@cijothomas cijothomas left a comment

Choose a reason for hiding this comment

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

Thanks!
Can you add a changelog entry too?

@houseme
Copy link
Contributor Author

houseme commented Apr 11, 2025

Thanks! Can you add a changelog entry too?

Yes,Changelog has been added,Thanks! @cijothomas

@houseme houseme requested a review from cijothomas April 11, 2025 02:23
@cijothomas cijothomas merged commit 431689d into open-telemetry:main Apr 11, 2025
26 checks passed
@houseme houseme deleted the feature/upgrade-prometheus branch April 11, 2025 02:56
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.

RUSTSEC-2024-0437: Update protobuf dependency
2 participants