Skip to content
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

Move correlation context propagation to correlation package #479

Merged
merged 2 commits into from
Feb 20, 2020

Conversation

krnowak
Copy link
Member

@krnowak krnowak commented Feb 14, 2020

Correlation context propagation shouldn't be a part of the trace
package - it is a different aspect of the propagation cross-cutting
concern.

This commit also adds a DefaultHTTPPropagator function for correlation
context propagation and makes the plugins use it.

Correlation context propagation shouldn't be a part of the trace
package - it is a different aspect of the propagation cross-cutting
concern.

This commit also adds a DefaultHTTPPropagator function for correlation
context propagation and makes the plugins use it.
@krnowak krnowak force-pushed the correlation-context-propagator branch from 30ed7a1 to e08ee02 Compare February 14, 2020 19:41

// CorrelationContextHeader is specified by W3C.
//nolint:golint
var CorrelationContextHeader = "Correlation-Context"
Copy link
Contributor

Choose a reason for hiding this comment

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

This should not be exported.

Copy link
Member Author

Choose a reason for hiding this comment

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

Sorry for not fixing it. I think this variable (should be constant BTW) is exported just as the TraceparentHeader constant in api/trace/trace_context_propagator.go is exported. Will file an issue about it.

Copy link
Member Author

Choose a reason for hiding this comment

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

Filed #493.

@jmacd jmacd merged commit 6b97bb0 into open-telemetry:master Feb 20, 2020
@krnowak krnowak deleted the correlation-context-propagator branch February 20, 2020 22:08
@krnowak krnowak mentioned this pull request Feb 28, 2020
@pellared pellared added this to the untracked milestone Nov 8, 2024
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.

4 participants