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

[Otlp] Bump Google.Protobuf to 3.22.0 and remove reflection emit code #4201

Merged
merged 4 commits into from
Feb 25, 2023

Conversation

CodeBlanch
Copy link
Member

@CodeBlanch CodeBlanch commented Feb 16, 2023

[This could go in 1.4 but I think leave it out just so we can soak the 3.22.0 bump for a bit to make sure there are no unexpected issues.]

Changes

A while back we were able to get a change put into Protobuf to make the default clear behavior capacity-preserving. That is now available in 3.22.0 and allows us to remove the reflection emit perf hacks.

TODOs

  • Appropriate CHANGELOG.md updated for non-trivial changes

@codecov
Copy link

codecov bot commented Feb 16, 2023

Codecov Report

Merging #4201 (1bd8b25) into main (a3ec494) will decrease coverage by 0.02%.
The diff coverage is 50.00%.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #4201      +/-   ##
==========================================
- Coverage   85.71%   85.69%   -0.02%     
==========================================
  Files         289      289              
  Lines       11374    11346      -28     
==========================================
- Hits         9749     9723      -26     
+ Misses       1625     1623       -2     
Impacted Files Coverage Δ
...tryProtocol/Implementation/MetricItemExtensions.cs 93.33% <0.00%> (-0.63%) ⬇️
...metryProtocol/Implementation/ActivityExtensions.cs 95.90% <100.00%> (-0.31%) ⬇️
...ter.ZPages/Implementation/ZPagesActivityTracker.cs 97.14% <0.00%> (-2.86%) ⬇️
src/OpenTelemetry/BatchExportProcessor.cs 84.11% <0.00%> (+1.86%) ⬆️
...p/Implementation/HttpInstrumentationEventSource.cs 76.00% <0.00%> (+4.00%) ⬆️

@github-actions
Copy link
Contributor

This PR was marked stale due to lack of activity and will be closed in 7 days. Commenting or Pushing will instruct the bot to automatically remove the label. This bot runs once per day.

@github-actions github-actions bot added the Stale Issues and pull requests which have been flagged for closing due to inactivity label Feb 24, 2023
@cijothomas cijothomas marked this pull request as ready for review February 24, 2023 22:27
@cijothomas cijothomas requested a review from a team February 24, 2023 22:27
@cijothomas cijothomas removed the Stale Issues and pull requests which have been flagged for closing due to inactivity label Feb 24, 2023
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.

LGTM. A changelog entry is needed as we bump minimum version of protobuf.

@CodeBlanch
Copy link
Member Author

@cijothomas CHANGELOG updated.

@cijothomas cijothomas merged commit f7f5358 into open-telemetry:main Feb 25, 2023
@CodeBlanch CodeBlanch deleted the otlp-remove-reflectionemit branch February 25, 2023 17:52
alanwest added a commit to alanwest/opentelemetry-dotnet that referenced this pull request Apr 19, 2023
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