Skip to content

Fix the empty headers use case for OTTracePropagator #378

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 4 commits into from
Mar 25, 2021
Merged

Fix the empty headers use case for OTTracePropagator #378

merged 4 commits into from
Mar 25, 2021

Conversation

marcinzaremba
Copy link
Contributor

@marcinzaremba marcinzaremba commented Mar 24, 2021

Description

Fix the empty headers use case (ignore instead of throwing an exception) for OTTracePropagator.
See more details in the issue below.

Fixes #377

Type of change

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

See added unit test in this PR.

Does This PR Require a Core Repo Change?

  • No.

Checklist:

See contributing.md for styleguide, changelog guidelines, and more.

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

@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Mar 24, 2021

CLA Signed

The committers are authorized under a signed CLA.

@marcinzaremba marcinzaremba marked this pull request as ready for review March 24, 2021 16:36
@marcinzaremba marcinzaremba requested review from a team, toumorokoshi and ocelotl and removed request for a team March 24, 2021 16:36
Copy link
Contributor

@codeboten codeboten left a comment

Choose a reason for hiding this comment

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

Nice, thanks for the contribution!

@codeboten codeboten merged commit 2f088f8 into open-telemetry:main Mar 25, 2021
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

OT Trace propagator fails with exception when no headers are present
3 participants