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

Revert TraceContextPropagator performance refactor from 5749 #6161

Merged
merged 3 commits into from
Mar 3, 2025

Conversation

stevejgordon
Copy link
Contributor

@stevejgordon stevejgordon commented Mar 3, 2025

Fixes #6158

Changes

As discussed in #6158, this reverts to previous performance optimizations until we have added more tests and hardened the implementation.

Merge requirement checklist

  • CONTRIBUTING guidelines followed (license requirements, nullable enabled, static analysis, etc.)
  • Unit tests added/updated
  • Appropriate CHANGELOG.md files updated for non-trivial changes
  • [] Changes in public API reviewed (if applicable)

@stevejgordon stevejgordon requested a review from a team as a code owner March 3, 2025 13:48
@github-actions github-actions bot added the pkg:OpenTelemetry.Api Issues related to OpenTelemetry.Api NuGet package label Mar 3, 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.

LGTM, need to mention in changelog that it closes the reported perf issue.

@stevejgordon stevejgordon requested a review from cijothomas March 3, 2025 16:31
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.

Changelog looks good as well! Thanks!

Copy link
Contributor

@Kielek Kielek left a comment

Choose a reason for hiding this comment

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

@rajkumar-rangaraj, can we make a release 11.1.2 when this one is merged?

I think that we have 2 good reasons (fixes) for this.

@rajkumar-rangaraj
Copy link
Contributor

rajkumar-rangaraj commented Mar 3, 2025

@rajkumar-rangaraj, can we make a release 11.1.2 when this one is merged?

I think that we have 2 good reasons (fixes) for this.

Yes, we should discuss in tomorrow's SIG and plan on immediate release.

@rajkumar-rangaraj rajkumar-rangaraj merged commit 1b555c1 into open-telemetry:main Mar 3, 2025
39 checks passed
Copy link

codecov bot commented Mar 3, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.30%. Comparing base (577337c) to head (066c2c6).
Report is 1 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #6161      +/-   ##
==========================================
- Coverage   86.34%   86.30%   -0.05%     
==========================================
  Files         257      257              
  Lines       11557    11499      -58     
==========================================
- Hits         9979     9924      -55     
+ Misses       1578     1575       -3     
Files with missing lines Coverage Δ
....Api/Context/Propagation/TraceContextPropagator.cs 89.37% <ø> (-1.46%) ⬇️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pkg:OpenTelemetry.Api Issues related to OpenTelemetry.Api NuGet package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants