-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Add oteltest TextMap propagator and carrier #1259
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MrAlias
added
pkg:testing
Related to testing or a testing package
area:propagators
Part of OpenTelemetry context propagation
release:required-for-ga
labels
Oct 15, 2020
MrAlias
requested review from
Aneurysm9,
evantorrie,
jmacd,
lizthegrey and
XSAM
as code owners
October 15, 2020 02:20
MrAlias
changed the title
 Add oteltest TextMap propagator and carrier
Add oteltest TextMap propagator and carrier
Oct 15, 2020
Codecov Report
@@ Coverage Diff @@
## master #1259 +/- ##
========================================
- Coverage 76.7% 76.7% -0.1%
========================================
Files 130 131 +1
Lines 5828 5903 +75
========================================
+ Hits 4475 4531 +56
- Misses 1105 1120 +15
- Partials 248 252 +4
|
Gotta farm that codecov
Aneurysm9
approved these changes
Oct 15, 2020
XSAM
approved these changes
Oct 15, 2020
MrAlias
added a commit
to MrAlias/opentelemetry-go
that referenced
this pull request
Oct 15, 2020
Use the testing framework from open-telemetry#1259 to test the added global implementation of the TextMapPropagator. Add tests for the internal state of the global package. Ensure the behavior of setting the global for an already set value panics. Fix oteltest `SetN` method check on the TextMapCarrier.
MrAlias
added a commit
that referenced
this pull request
Oct 17, 2020
* Add global propagator testing and other fixes Use the testing framework from #1259 to test the added global implementation of the TextMapPropagator. Add tests for the internal state of the global package. Ensure the behavior of setting the global for an already set value panics. Fix oteltest `SetN` method check on the TextMapCarrier. * Fix lint
Merged
AzfaarQureshi
pushed a commit
to open-o11y/opentelemetry-go
that referenced
this pull request
Dec 3, 2020
* Add oteltest text map propagator and carrier * Add changes to CHANGELOG * Add PR number to CHANGELOG * Add test for empty newState Gotta farm that codecov
AzfaarQureshi
pushed a commit
to open-o11y/opentelemetry-go
that referenced
this pull request
Dec 3, 2020
* Add global propagator testing and other fixes Use the testing framework from open-telemetry#1259 to test the added global implementation of the TextMapPropagator. Add tests for the internal state of the global package. Ensure the behavior of setting the global for an already set value panics. Fix oteltest `SetN` method check on the TextMapCarrier. * Fix lint
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area:propagators
Part of OpenTelemetry context propagation
pkg:testing
Related to testing or a testing package
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This adds a
TextMapPropagator
and an associatedTextMapCarrier
to theoteltest
package for testing TextMap Propagator propagation.Related to #1258 to be used in its testing.