Skip to content

Rename Baggage Header name to baggage#2003

Merged
cijothomas merged 2 commits intoopen-telemetry:mainfrom
utpilla:utpilla/Rename-BaggageHeaderName
Apr 20, 2021
Merged

Rename Baggage Header name to baggage#2003
cijothomas merged 2 commits intoopen-telemetry:mainfrom
utpilla:utpilla/Rename-BaggageHeaderName

Conversation

@utpilla
Copy link
Copy Markdown
Contributor

@utpilla utpilla commented Apr 20, 2021

Fixes #1967

Changes

  • Renamed BaggageHeader name to baggage (lowercase). BaggagePropagator.Extract and BaggagePropagator.Inject will now look for and add baggage to the carrier respectively
  • Updated HttpInstrumentationTests to look for baggage in Headers instead of Baggage. Although these look ups are case insensitive, I updated them to be consistent with the BaggageHeader Name.

For significant contributions please make sure you have completed the following items:

  • CHANGELOG.md updated for non-trivial changes

@utpilla utpilla requested a review from a team April 20, 2021 23:25
Copy link
Copy Markdown
Member

@reyang reyang left a comment

Choose a reason for hiding this comment

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

LGTM once the CHANGELOG.md is updated.

@codecov
Copy link
Copy Markdown

codecov bot commented Apr 20, 2021

Codecov Report

Merging #2003 (a39ba97) into main (f3912e5) will increase coverage by 0.03%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #2003      +/-   ##
==========================================
+ Coverage   83.87%   83.91%   +0.03%     
==========================================
  Files         192      192              
  Lines        6184     6184              
==========================================
+ Hits         5187     5189       +2     
+ Misses        997      995       -2     
Impacted Files Coverage Δ
...metry.Api/Context/Propagation/BaggagePropagator.cs 83.92% <ø> (ø)
...Telemetry/Internal/SelfDiagnosticsEventListener.cs 96.58% <0.00%> (+0.85%) ⬆️
...ZPages/Implementation/ZPagesExporterEventSource.cs 62.50% <0.00%> (+6.25%) ⬆️

@cijothomas cijothomas merged commit eb42939 into open-telemetry:main Apr 20, 2021
@utpilla utpilla deleted the utpilla/Rename-BaggageHeaderName branch June 3, 2021 18:35
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.

Baggage header should be lowercase

3 participants