-
Notifications
You must be signed in to change notification settings - Fork 770
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
Separate OpenTelemetry.Api B3 Trace Propagator to a new Nuget Package #3244
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like a breaking change.
I would suggestion the following path:
- Do not remove existing B3 APIs, consider adding https://docs.microsoft.com/en-us/dotnet/api/system.obsoleteattribute to these B3 APIs.
- Create an issue to track the removal of the B3 APIs in the next MAJOR release (e.g. 2.x).
Done. It has been marked as obsolete (just functions, not attributes, was not sure about that) and a new issue #3259 has been created as well. Also, package has been renamed as suggested (thanks @alanwest). Tests were executed locally, and run fine. |
...OpenTelemetry.Extensions.Propagators.Tests/OpenTelemetry.Extensions.Propagators.Tests.csproj
Outdated
Show resolved
Hide resolved
test/OpenTelemetry.Instrumentation.Grpc.Tests/OpenTelemetry.Instrumentation.Grpc.Tests.csproj
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
Co-authored-by: Reiley Yang <[email protected]>
…Extensions.Propagators.Tests.csproj Co-authored-by: Reiley Yang <[email protected]>
…strumentation.Grpc.Tests.csproj Co-authored-by: Reiley Yang <[email protected]>
thanks @reyang - I will bring this in the next 2 days to the finish... |
@dmpe I;d suggest to break this down into smaller scoped PRs.
|
Please, can you approve workflows so that tests etc could be executed. Thanks. ^ _ once you make a smaller PR and get it merged, Github will automatically trigger CI checks for your PR. (the restriction is only for 1st time contributions. So you have a good reason to make Github think you are not 1st time contributor!) |
Thanks. |
...OpenTelemetry.Extensions.Propagators.Tests/OpenTelemetry.Extensions.Propagators.Tests.csproj
Outdated
Show resolved
Hide resolved
Codecov Report
@@ Coverage Diff @@
## main #3244 +/- ##
==========================================
- Coverage 85.48% 85.44% -0.04%
==========================================
Files 261 262 +1
Lines 9410 9502 +92
==========================================
+ Hits 8044 8119 +75
- Misses 1366 1383 +17
|
src/OpenTelemetry.Extensions.Propagators/OpenTelemetry.Extensions.Propagators.csproj
Outdated
Show resolved
Hide resolved
...OpenTelemetry.Extensions.Propagators.Tests/OpenTelemetry.Extensions.Propagators.Tests.csproj
Show resolved
Hide resolved
...OpenTelemetry.Extensions.Propagators.Tests/OpenTelemetry.Extensions.Propagators.Tests.csproj
Outdated
Show resolved
Hide resolved
@dmpe Almost ready to merge this PR. Left a few minor comments, you may address it in a follow up, but make sure the CI is green! |
The api compatibility test has failed https://github.com/open-telemetry/opentelemetry-dotnet/runs/6371440160?check_suite_focus=true previously but it is not clear to me as to why? Otherwise, fixed as suggested. |
Its a flaky test - #2885 |
part of #1881
Changes
As described in #1881, this MR creates a new Nuget Package (and VS project inside of solution) for B3 tracing propagation. As suggested by @cijothomas, and furher documented here https://opentelemetry.io/docs/reference/specification/context/api-propagators/#propagators-distribution, B3 as well as Jaeger propagators need to be independent, extension packages.
Please, can you approve workflows so that tests etc could be executed. Thanks.
Details
For significant contributions please make sure you have completed the following items: