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

[OpenTracing.Shim] TracerShim constructor #4812

Merged
merged 2 commits into from
Aug 30, 2023

Conversation

Kielek
Copy link
Contributor

@Kielek Kielek commented Aug 30, 2023

Fixes #4727

Changes

TracerShim constructor met https://github.com/open-telemetry/opentelemetry-specification/blob/90eec0ffd8e52dddbd308e346cd5098f611164dd/specification/compatibility/opentracing.md
Old constructor marked as obsolete. It can be removed now/after this release.
2 new constructors to met criteria. If there is no propagator, the default one is used.
Unit tests covers only non-obsolete constructor.

Merge requirement checklist

  • CONTRIBUTING guidelines followed (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)

@Kielek Kielek force-pushed the opentracing-shim-spec branch from db85ab8 to 2ae8e1a Compare August 30, 2023 09:06
@codecov
Copy link

codecov bot commented Aug 30, 2023

Codecov Report

Merging #4812 (2ae8e1a) into main (1da0297) will decrease coverage by 0.14%.
The diff coverage is 80.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #4812      +/-   ##
==========================================
- Coverage   83.96%   83.82%   -0.14%     
==========================================
  Files         293      293              
  Lines       11966    11977      +11     
==========================================
- Hits        10047    10040       -7     
- Misses       1919     1937      +18     
Files Changed Coverage
src/OpenTelemetry.Shims.OpenTracing/TracerShim.cs 80.00%

@Kielek Kielek marked this pull request as ready for review August 30, 2023 09:59
@Kielek Kielek requested a review from a team August 30, 2023 09:59
@utpilla utpilla requested a review from pjanotti August 30, 2023 18:36
Copy link
Contributor

@pjanotti pjanotti left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks @Kielek

@utpilla utpilla merged commit 759d540 into open-telemetry:main Aug 30, 2023
@Kielek Kielek deleted the opentracing-shim-spec branch August 31, 2023 04:17
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.

OpenTracing shim constructor doesn't match spec
3 participants