Skip to content

Move b3 propagator out of SDK#1513

Merged
codeboten merged 8 commits intoopen-telemetry:masterfrom
codeboten:move-b3-out
Jan 12, 2021
Merged

Move b3 propagator out of SDK#1513
codeboten merged 8 commits intoopen-telemetry:masterfrom
codeboten:move-b3-out

Conversation

@codeboten
Copy link
Copy Markdown
Contributor

@codeboten codeboten commented Jan 7, 2021

Description

This PR moves the b3 propagator into its own package opentelemetry-propagator-b3 as per the spec.

Fixes #1221

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

  • unit tests

Does This PR Require a Contrib Repo Change?

  • Yes. - Link to PR:
  • No.

Checklist:

  • Followed the style guidelines of this project
  • Changelogs have been updated
  • Unit tests have been added
  • Documentation has been updated

@codeboten codeboten changed the title move b3 propagator out of sdk Move b3 propagator out of SDK Jan 8, 2021
@codeboten codeboten marked this pull request as ready for review January 8, 2021 01:04
@codeboten codeboten requested review from a team, lzchen and toumorokoshi and removed request for a team January 8, 2021 01:05
rm -rf $DISTDIR/*

for d in opentelemetry-api/ opentelemetry-sdk/ opentelemetry-instrumentation/ opentelemetry-proto/ exporter/*/ instrumentation/*/ ; do
for d in opentelemetry-api/ opentelemetry-sdk/ opentelemetry-instrumentation/ opentelemetry-proto/ exporter/*/ instrumentation/*/ propagator/*/; do
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Nit: Should we name it propagators plural?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

eh..... maybe? though exporter is singular....

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

+1 to leaving it as is, for consistencies sake with the other directories.

@lzchen
Copy link
Copy Markdown
Contributor

lzchen commented Jan 8, 2021

Should we do something similar for the jaeger propagator?

@codeboten
Copy link
Copy Markdown
Contributor Author

Should we do something similar for the jaeger propagator?

Yes, according to the spec it should also be moved out. I'll create an issue for it

Copy link
Copy Markdown
Member

@toumorokoshi toumorokoshi 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!

rm -rf $DISTDIR/*

for d in opentelemetry-api/ opentelemetry-sdk/ opentelemetry-instrumentation/ opentelemetry-proto/ exporter/*/ instrumentation/*/ ; do
for d in opentelemetry-api/ opentelemetry-sdk/ opentelemetry-instrumentation/ opentelemetry-proto/ exporter/*/ instrumentation/*/ propagator/*/; do
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

+1 to leaving it as is, for consistencies sake with the other directories.

@codeboten codeboten merged commit 287efdc into open-telemetry:master Jan 12, 2021
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.

B3 propagator must be distributed as a separate package

4 participants